<xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*[not(type='NAPDEF')]|node()"/> </xsl:copy> </xsl:template> But it doesn't work. How can I select the nodes that have no characteristic node of type NAPDEF?
[ March 15, 2005: Message edited by: Brian Grey ] [ March 15, 2005: Message edited by: Brian Grey ]
I find the exclusion pattern where things I don't want go into their own template much more readable than putting the stuff inline. Hope that helps [ March 16, 2005: Message edited by: Stephan H. Wissel ]
Joined: Nov 15, 2002
I found my mistake. The command [not(@type='NAPDEF')] was in the wrong place.