| 
 
Subject: Re: [xsl] Getting Attribute names in an XML with XSLT stylesheet From: Mike Brown <mike@xxxxxxxx> Date: Mon, 8 Apr 2002 02:58:17 -0600 (MDT)  | 
Morgan Nagarajan wrote: > <xsl:template match="@*"> > <xsl:value-of select="."/> > </xsl:template> > but this displays only attribute's value not it's name. <xsl:value-of select="name()"/> or <xsl:value-of select="local-name()"/> You might want to look over the functions section of the XPath spec. - Mike ____________________________________________________________________________ mike j. brown | xml/xslt: http://skew.org/xml/ denver/boulder, colorado, usa | resume: http://skew.org/~mike/resume/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] Getting Attribute names i, Jeni Tennison | Thread | Re: [xsl] Getting Attribute names i, Morgan Nagarajan | 
| Re: [xsl] Getting Attribute names i, Jeni Tennison | Date | Re: [xsl] creating XML in a servlet, Jeni Tennison | 
| Month |