xsl-list
[Top] [All Lists]

RE: atrtributes

2006-02-28 17:15:12
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[(_at_)N='Assoc Unit Id']/@V"/>
      <xsl:text>&#09;</xsl:text>
      <xsl:value-of select="A[(_at_)N='Assoc Unit Name']/@V"/>
      <xsl:text>&#10;</xsl:text>
    </xsl:template>

--drkm



















        

        
                
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>