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

Re: Why saxon doesnt allow this?


Subject: Re: Why saxon doesnt allow this?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 4 Apr 2000 20:08:46 +0100 (BST)

> How can I add &#xA9; in the xsl:variable declaration?

You can always use  &#xA9; in place of characters in XML character data
in elements or attribute values. You just can't use it in XML names.
So by using latin 1 you don't restrict the characters you can use in
data,  But you do restrict the names you can use
for elements and attributes to just using latin 1 characters.

so <xsl:variable name="x" select="'&#xA9;'"/> defines $x to be the
_single_ character (string-length($x) is 1)

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml