|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Print all root node attributes
> > <xsl:for-each select="*"> > > <xsl:value-of select="name()" /> > > <xsl:for-each select="@*"> > > <xsl:value-of select="current()" /> > > The current() function returns the node matched by the template. > Try > <xsl:value-of select="." /> > instead. > > J.Pietschmann Not so. As a self-contained XPath expression, current() returns exactly the same as ".". It's only inside a predicate that the result is different. Michael Kay http://www.saxonica.com/
|
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
|

Cart








