RE: [xsl] Invalid characters in xsl:element

Subject: RE: [xsl] Invalid characters in xsl:element
From: "Jason Macki" <jmacki@xxxxxxx>
Date: Tue, 22 May 2001 12:28:58 -0500
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@xxxxxxxxxxxx]
Sent: Tuesday, May 22, 2001 12:18 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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


Current Thread