RE: selecting a node without its children

Subject: RE: selecting a node without its children
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
Date: Thu, 30 Mar 2000 13:18:30 -0500
At 07:38 PM 3/30/2000 +0200, Ben Sorek wrote:
If I have a template

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

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

<xsl:template match="STORY"> Author's id is: <xsl:value-of select="AUTHOR/@id"/> </xsl:template>

================================================================
John E. Simpson          | "I was gratified to be able to answer
http://www.flixml.org    | promptly. I said I don't know."
simpson@xxxxxxxxxxx      | Mark Twain)



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


Current Thread