More than one context node
Replies (1)
Please register to reply
Added by Anonymous over 18 years ago
Legacy ID: #3799622 Legacy Poster: Guilherme (gcoelho2001)
Hello ! I'm starting with Saxon and I'd like to know if it is possible to set more than one document into context using something like dynamicContext.setContextNode(staticContext.buildDocument ... As I could see, it is only possible to set one document.. how could I set two ? Regards, Guilherme.
Legacy ID: #3799932 Legacy Poster: Michael Kay (mhkay)
The context item is a single item by definition ("." always returns a singleton). But you can pass additional values into a query or stylesheet using parameters (xsl:param in XSLT, declare variable external in XQuery). Michael Kay http://www.saxonica.com/
Please register to reply