Hello,

I was wondering does anyone have any experience or examples of how an .Net 
object (or Java, it may help) can be passed to XQuery module using the XCC API.

My code at the mode serializes the .Net object to a string and passes it to 
XQuery as a ValueType.XS_STRING.

Is it possible to do something like convert the .Net object to an XPathDocument 
object and pass it as a ValueType.NODE datatype. I've tried this but when I try 
and set the variable i.e. request.SetNewVariable(xName, xValue); I get an error

"Specified argument was out of the range of valid values.\r\nParameter name: 
String, org.w3c.dom.Element or InputStream value required to construct 
element()"

Any ideas would be great.

Eoin
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to