This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Why saxon doesnt allow this?



> How can I add © in the xsl:variable declaration?

You can always use  © 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]