Re: [xsl] following-sibling question

Subject: Re: [xsl] following-sibling question
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Wed, 26 Dec 2007 02:28:08 +0100
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

Current Thread