Re: [xsl] XPath element constructor

Subject: Re: [xsl] XPath element constructor
From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@xxxxxxxxx>
Date: Tue, 28 Aug 2012 23:03:36 +0200
On 2012-08-28 22:55, Jakub MalC= wrote:
Hi,
lets say, that somewhere in an XSLT context, I want to do this:

<xsl:sequence select="<my-cool-element>foo</m-cool-element>" />

If you want to create an Element in XSLT that will be serialized to <my-cool-element>foo</my-cool-element>, why donbt you just write <my-cool-element>foo</my-cool-element> in your stylesheet?


Current Thread