Hi,

I’m writing a Java program to execute an XQuery using the BaseX QueryProcessor class, and need to pass an XML document as context node.

As far I’ve found in the documentation and java examples, this is done with the context() method of QueryProcessor, which receives an instance of the Value class as parameter.

But the examples available are about passing simple types (strings o numbers) but nothing about passing an XML node.

My question is: Where can I find examples or documentation on how to pass XML nodes as parameters to QueryProcessor.context() ?

Thanks for all your help,

 

William David Velásquez
Creativo de Software
Creativos Digitales S.A.S.
Calle 30A # 83 - 53 Local 1033
Tel: 322 1730 - 311 709 8421
Medellín, Colombia

¿Necesita Integrar Sistemas? Conozca nuestra solución de Integración no Invasiva: http://creativosdigitales.co

 

¿Preguntas sobre Facturación Electrónica? Visite: http://facturasyrespuestas.com