Jason, >Hi. Is there a better way to get the name of an node's parent then the >following? This works but seems awkward. > ><xsl:for-each select='..'><xsl:value-of select='name()'/></xsl:for-each> As name is an XPath function taking an optional nodeset argument, <xsl:value-of select='name(..)'/> should work. Hope this helps. Mathias Bonnard Euroclid mathias.bolnnard@xxxxxxxxxxx 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