This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: retriving attribute values from an element with attributes
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] retriving attribute values from an element with attributes
- From: "Tim Watts" <timw at 3d3 dot com>
- Date: Fri, 1 Jun 2001 16:16:10 +1000
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of msew
Sent: Friday, 1 June 2001 4:04 PM
To: xsl-list@lists.mulberrytech.com; xsl-list@lists.mulberrytech.com
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