xsl-list
[Top] [All Lists]

Re: contains any child nodes attribute value

2003-06-11 10:06:59

<xsl:template name="foo">
<xsl:if
test="bar[contains(concat(' ',current()/@name,' '),concat(' ',@name,' '))])">
something
</xsl:if>
</xsl:template>

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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
________________________________________________________________________

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