[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] retriving attribute values from an element with attributes


Subject: RE: [xsl] retriving attribute values from an element with attributes
From: "Tim Watts" <timw@xxxxxxx>
Date: Fri, 1 Jun 2001 16:16:10 +1000

They both are equally valid, and are not dependent on XSLT extensions.

But <xsl:value-of select="@NAME" />
is shorter!  :-)

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of msew
Sent: Friday, 1 June 2001 4:04 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx; xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] retriving attribute values from an element with
attributes


At 07:43 06/01/2001 +0300, Jarno Elovirta wrote:
>Heippa
>
> >    <xsl:template match="BARTLE_TYPE">
> >      <TR>
> >        <TD>
> >           ????????????  What to stick here to get out the NAME attribute
>
><xsl:value-of select="@NAME" /> or <xsl:value-of select="attribute::NAME"
/>
>
>Jarno - Cookie Monster: C Is for Cookie


is one of those more effecient or considered canonical form (ie will always
be there any effected by versioning of the xsl standard and processors)?


thanks!!!


msew


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


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



Current Thread
Keywords