Hello,
I have a XML file
<car>
<brand>Mercedes</brand>
</car>
I want to transform it to this form:
<car>
<Mercedes>
</car>
So in fact in XSL I want to create an element which has the name of a
text node. This might be a really simple question but I am getting
confused with XPath now, with {}, with // with self:: with parent::
..... :-(
<xsl:template match="car">
<xsl:element name="XXXX"/>
</xsl:template>
How would be the valid XXXX expression?
Thanks for help
Bernd