Project

Profile

Help

command line setContextNode for XQuery

Added by Anonymous over 19 years ago

Legacy ID: #3101210 Legacy Poster: Howard Katz (howardk)

Is there a command-line equivalent to setContextNode for setting the top-level context node for XQuery? It thought I saw this mentioned somewhere recently but can't find it in the documentation. TIA, Howard


Replies (2)

RE: command line setContextNode for XQuery - Added by Anonymous over 19 years ago

Legacy ID: #3101273 Legacy Poster: Michael Kay (mhkay)

Use the -s option on the command line http://www.saxonica.com/documentation/using-xquery/commandline.html e.g. java net.sf.saxon.Query -s source.xml query.xq Michael Kay

RE: command line setContextNode for XQuery - Added by Anonymous over 19 years ago

Legacy ID: #3101340 Legacy Poster: Howard Katz (howardk)

Thanks Mike. I read right by that one. Howard

    (1-2/2)

    Please register to reply