xsl-list
[Top] [All Lists]

Re: [xsl] following-sibling question

2007-12-25 18:28:31
Ken Tam wrote:
Thanks for the reply but it doesn't work as the first sample data is still 
selected. I was able to use the generate-id() function to apply the filter for 
the not(@id='d') case.

If you are using XSLT 2.0, you can instead use the "is" operator, which is clearer and briefer:

$nodeA is $nodeB

instead of

generate-id($nodeA) = generate-id($nodeB)

Cheers,
-- Abel

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