Subject: RE: Output the Value of Element without its Child Elements
From: "Renick, Garrel" <garrel@xxxxxxxx>
Date: Mon, 18 Jul 2005 09:35:12 -0500
|
The node test solved my problem. Thank you!
-----Original Message-----
I suspect you meant id="2" to be ID="2" in your example.
Is this what you want?
<xsl:template match="TOPIC">
<xsl:value-of select="@ID"/><br/>
<xsl:value-of select="node()[not(self::TOPIC)]"/>
<xsl:apply-templates select="./TOPIC"/> </xsl:template>
--
Stuart Jansen <sjansen@xxxxxxxxxxxx>
Guru Labs, L.C.
|