Excluding a node from Templates Select
This is an open discussion with 2 replies, filed under General.
Search
Of course, using predicates:
<xsl:apply-templates select="node[not(@selected='yes')]" />
Brilliant! Worked perfectly. Thanks for the quick response too!
Create an account or sign in to comment.
Can this be done?
Say my xml is something like this;
How do I then do this:
<xsl:apply-templates select="group/node">
but make it exclude the one withselected="yes"
as I don't want that one outputted to the front end?