Exclude multiple nodes from apply-templates
This is an open discussion with 1 reply, filed under XSLT.
Search
You need to split the 'not' query with and
<xsl:apply-templates select="allregions/region[@link-name != 'aaa' and @link-name != 'bbb' and @link-name != 'ccc']" />
Create an account or sign in to comment.
Hello,
I need to exclude three nodes from a node list, but can't say where to start. Tried
<xsl:apply-templates select="allregions/region[@link-name != 'aaa', 'bbb', 'ccc']" />
but it's not working.This is [part of ] the node tree
Thanks!!