A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
how do i get the name of a node as my element name in XSL
Joined: Mar 14, 2010
Jun 09, 2010 00:20:01
<xsl:for-each select="child::*"> <xsl:element name=""> </xsl:element> </xsl:for-each>
In this example I want the element name to be same as the child node I get. Can you please tell me how is that possible using XSLT
Joined: Oct 14, 2005
Jun 09, 2010 09:21:49
function which gives you the name of the context node, if it's an element, is
You might find it easier to get a book about XSLT, rather than waiting for random people on the Internet to tell you things like this. Reserve your forum posts for programming problems.
I agree. Here's the link:
subject: how do i get the name of a node as my element name in XSL
How to insert a structure into XML
xsl getNext to sort output
Can Not XSL-Transform Something so Simple.
Viktors 141 Sample Test: Question 27
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014