This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Invalid characters in xsl:element
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Invalid characters in xsl:element
- From: "Jason Macki" <jmacki at iisd dot ca>
- Date: Tue, 22 May 2001 12:28:58 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
Thanks for the response, Mike.
However, when I try the following:
<xsl:element name="{substring-before(substring-after(.
,'!'),'!')}">
</xsl:element>
I get the following message:
To create nodes of type 'ELEMENT', a valid name must be
specified.
Thanks,
Jason
p.s. My parser is MSXML version 3.
-----Original Message-----
From: Michael Kay [mailto:mhkay@iclway.co.uk]
Sent: Tuesday, May 22, 2001 12:18 PM
To: xsl-list@lists.mulberrytech.com
Subject: RE: [xsl] Invalid characters in xsl:element
>
> When I use the following to get the tag name:
> <xsl:element name="substring-after(substring-after(.
> ,'!'),'!')">
> </xsl:element>
>
You need curly brackets around the expression:
xsl:element name="{...}"
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list