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

RE: [xsl] atrtributes


Subject: RE: [xsl] atrtributes
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Wed, 1 Mar 2006 01:15:12 +0100 (CET)

Jody Robert Ford wrote:

> Can anyone explain how to access attributes in an xsl/xslt?
> Where do I start my research?

  In any good XSLT tutorial?

> How would you display a list like this:

> 02	Baker
> C1	Charlie
> A1	Alpha
> A2	Annie

    <xsl:template match="TO">
      <xsl:value-of select="A[@N='Assoc Unit Id']/@V"/>
      <xsl:text>&#09;</xsl:text>
      <xsl:value-of select="A[@N='Assoc Unit Name']/@V"/>
      <xsl:text>&#10;</xsl:text>
    </xsl:template>

--drkm



















	

	
		
___________________________________________________________________________ 
Nouveau : tiliphonez moins cher avec Yahoo! Messenger ! Dicouvez les tarifs exceptionnels pour appeler la France et l'international.
Tilichargez sur http://fr.messenger.yahoo.com


Current Thread
Keywords