xsl-list
[Top] [All Lists]

RE: atrtributes

2006-02-28 17:55:50
Can I have the style sheet ignore <HETROGENEOUS>true</HETROGENEOUS>?
Thanks for your help.
----
<HETROGENEOUS>true</HETROGENEOUS>
    <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>

---

-----Original Message-----
From: Florent Georges [mailto:darkman_spam(_at_)yahoo(_dot_)fr] 
Sent: Tuesday, February 28, 2006 7:15 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] atrtributes

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>
--~--


--~------------------------------------------------------------------
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>