[oXygen-user] document nodes as external parameters
    Lee, David 
    
       
    Wed Jan 19 07:20:56 CST 2011
    
    
  
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://... <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.
 <mailto:> 
812-482-5224
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20110119/e9ee9afa/attachment.html 
    
    
More information about the oXygen-user
mailing list