XQuery/Java, How to pass Multiple XMLs to map
Replies (1)
Please register to reply
Added by Anonymous almost 17 years ago
Legacy ID: #4710898 Legacy Poster: Sheetal (sj74)
Is it possible to pass multiple xmls to an Xquery map programattically without referencing file/s? If yes, please provide examples. Thanks in advance
Legacy ID: #4713563 Legacy Poster: Michael Kay (mhkay)
I'm not sure what you mean by an 'XQuery map'? You can pass multiple documents to an XQuery as the values of separate external variables (parameters), or you can create a sequence of document nodes as a single parameter. Just build the documents (e.g. using Configuration.buildDocument(), and pass the resulting document node to the setParameter() method.
Please register to reply