xsl-list
[Top] [All Lists]

Re: performance of variables in a xpath expression

2003-03-18 11:04:01
florian wrote:
im curious about how much slower it is to use a
variable in a xpath expression. im accessing alot of nodes outside of the current context and to make things more nice, i would like to set some part of the path to them as a variable..

It should be faster if you access the nodes many times, because you won't have 
to search the input tree to found them more than once.


--
--------------------------
Jeff Kenton
DataPower Technology, Inc.



XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>