Re: [xsl] dynamic node access

Subject: Re: [xsl] dynamic node access
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 21 Feb 2005 14:43:51 GMT
You hardly posted enough information to guess an answer, but

  <xsl:if test="following-sibling::TopNode[@name = $constraint]"> 

xsl:if is just a boolean test it doesn't change the current node.
If you want to change the current node to that node (if it is there)
change that to

<xsl:for-each test="following-sibling::TopNode[@name = $constraint]"> 

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread