[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] QName from variable


Subject: Re: [xsl] QName from variable
From: Norbert Heidbrink <nh@xxxxxxxx>
Date: Mon, 25 Apr 2005 19:43:32 +0200

Hallo folks,

if I may contribute a suggestion to my own question:

Instead of
=====
<xsl:element name="$nodename">
 ... anything ...
</xsl:element>
=====

write

=====
<xsl:text disable-output-escaping="yes">&lt;</xsl:text>
<xsl:value-of select="$pkt"/>
<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
... anything ...
<xsl:text disable-output-escaping="yes">&lt;/</xsl:text>
<xsl:value-of select="$pkt"/>
<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
=====

It seems to work, but the solution lets stand my hair on end.

I hope there is a decent solution to my problem?

Best regards,
Norbert


Current Thread