xsl-list
[Top] [All Lists]

Re: [xsl] Getting previous node in nodeset

2011-04-22 02:33:29

... except you (probably) want to test using is rather than eq (ie node identity rather than value) so replace index-of() by a function using node identity for comparison, an example of such is the eg:index-of-node() in the xpath spec:

http://www.w3.org/TR/xpath-functions/#index-of-node

David

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