Re: [xsl] for-each with included variable

Subject: Re: [xsl] for-each with included variable
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 18 Apr 2001 18:38:40 +0100
< xsl:for-each select="(.//*[@OPTypeRef[contains($myOPTypeList,
@OPTypeRef)]])[1]">

inside the inner [] the context node is the OPTypeRef attribute so the
@OPTypeRef is looking for the OPTypeRef attribute of the OPTypeRef
attribute, which isn't what you want, replace with .

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread