RE: [xsl] Match node() with exception

Subject: RE: [xsl] Match node() with exception
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Mon, 30 Aug 2004 16:31:03 -0400
> From: karl@xxxxxxxxxxxxxxxxxxxx [mailto:karl@xxxxxxxxxxxxxxxxxxxx]


> This is not working for me:
>
> <xsl:apply-templates select="node()[not(/SchemaVersion)]"/>
>

This applies the condition that the immediate child nodes have no child
elements that are "SchemaVersion" immediate children of the document
root.  That's not what you want, I'm sure, since no element could
satisfy that condition.  You probably mean -

Select='local-name != "SchemaVersion"'

> I have the node "SchemaVersion" which I care to NOT display.  What am
I
> doing wrong?

Cheers,

Tom P

Current Thread