[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Getting Attribute names in an XML with XSLT styles
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|