Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XSL. howto create an element of a text node? XSL. howto create an element of a text node?To: NULL Date: 4/3/2006 3:40:00 AM 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
