xsl-list
[Top] [All Lists]

RE: [xsl] Processing Instructions

2007-12-07 05:21:35
Replace "preceding::*[1]" by (preceding::*|ancestor::*)[last()]


Come to think of it, there's an optimization that might make a big
difference:

(..|preceding::*[1])[last()]

Michael Kay
http://www.saxonica.com/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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