[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to get the name of the current element?
I have tried this : <xsl:value-of select="name(.)" /> And IE5 just tells me this method doesn't exist.... Do you know any other way ? Thanks, Seb. | -----Original Message----- | From: peter@m... [mailto:peter@m...]On Behalf | > I'm looking for a way to set the name of the '.' element as | the 'class' attribute of a <p> tag. I can't find any function | that would return the name of the '.' element. | <xsl:variable name="foo" select="name(.)"/> *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
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
|