[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Saxon versus Xalan implementations of evaluate()

Subject: RE: Saxon versus Xalan implementations of evaluate() extension function?
From: "Andrzej Taramina" <andrzej@xxxxxxxxxxx>
Date: Thu, 7 Jul 2005 17:04:52 -0400
andrzej taramina

> 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?



Chaeron Corporation

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.