This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: selecting a node without its children


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@polaris.net      | Mark Twain)



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]