This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: name() and attribute() ?


Hi Lee!

Lee Goddard wrote:
> 
> Could someone please tell me the equivalent
> for name() that will give a node's attributes?
> 

Possibly simpler than you think - try something like this:

    <xsl:for-each select="@*">
      <xsl:text/> attribute name is : <xsl:value-of select="name()"/>
    </xsl:for-each>

Francis.
-- 
Francis Norton.

Defy Convention? Deify Convention!


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]