This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: selecting a node without its children
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: selecting a node without its children
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Thu, 30 Mar 2000 19:06:34 +0100
- Reply-To: xsl-list at mulberrytech dot com
> 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:value-of select="AUTHOR/@id"/>
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list