RE: selecting a node without its children

Subject: RE: selecting a node without its children
From: "Paal Eriksen" <pserik@xxxxxxxxxxx>
Date: Fri, 31 Mar 2000 08:55:56 CEST
use <xsl:value-of select="./@id"> if your parser has current position at STORY, otherwise use <xsl:value-of select="STORY/@id">

Paal Steven

From: "Ben Sorek" <bsorek@xxxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxx
To: <xsl-list@xxxxxxxxxxxxxxxx>
Subject: RE: selecting a node without its children
Date: Thu, 30 Mar 2000 19:38:33 +0200

This is my XML

	<STORY>
		<AUTHOR id="xsw">Stephen King</AUTHOR>
	</STORY>

If I have a template

<xsl:template match="STORY">
	....
</xsl:template>

how can i get the id attribute of author inside that template?


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread