RE: Saxon versus Xalan implementations of evaluate()
Michael: > Saxon 8.x does too much optimization to be able to guarantee that variables > declared in the stylesheet actually exist as such at run-time (for example, > variables that are never referenced are ignored completely). So I decided to > disallow direct access to variables in saxon:evaluate(). Instead, you can > pass parameters $p1..p9 to the query, e.g. > > saxon:evaluate("$p1 + 3", $x) > > returns 5 if $x is initialized to 2. Will it work if you do something like this: saxon:evaluate("$p1/node1/node2", $x) where $x is a node set? ie. Will it look for node1/node2 in the node set contained in $x? Thanks! ....Andrzej Chaeron Corporation http://www.chaeron.com
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format