I'm trying to run an XQuery with 2 external parameters expected as document-node().
declare variable $common:annotations as document-node() external ;
declare variable $common:patterns as document-node() external ;
When I put in a value in the external parameters in the transformation , it forces a quote around them
Put in:
doc('file://…')
Turns into
'doc(file://...)'
And I get runtime exceptions about a string being passed where a document-node() is expected.
Is there any way to pass document nodes directly (not by name) to XQuery within Oxygen ?
----------------------------------------
David A. Lee
Senior Principal Software Engineer
Epocrates, Inc.
812-482-5224