Project

Profile

Help

XQuery/Java, How to pass Multiple XMLs to map

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


Replies (1)

RE: XQuery/Java, How to pass Multiple XMLs to map - Added by Anonymous almost 17 years ago

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.

    (1-1/1)

    Please register to reply