xsl-list
[Top] [All Lists]

RE: Match node() with exception

2004-08-30 13:31:03
From: karl(_at_)meetscoresonline(_dot_)com 
[mailto:karl(_at_)meetscoresonline(_dot_)com]


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


<Prev in Thread] Current Thread [Next in Thread>