xsl-list
[Top] [All Lists]

Re: [xsl] XPath element constructor

2012-08-28 16:04:01


On 2012-08-28 22:55, Jakub Malý 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 don’t you just write <my-cool-element>foo</my-cool-element> in your stylesheet?


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>