Re: [xsl] change stylesheet encoding

Subject: Re: [xsl] change stylesheet encoding
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 17 May 2004 09:49:04 +0100
> The editor said that the stylesheet had characters in it that violated
> the encoding choice.

If it's a text editor (rather than an XML one) that is to be expected.
If you have an e-acute and ask to save as ascii then you can't do that
in text, in XML you can write any character in any encoding (if it's in
element or attribute content) so long as the encoding includes the
characters & # 0 1 2 3 4 5 6 7 8 9 ; eg eacute can be written 
& # 2 3 3 ;
If the characters are used in element or attribute names then again you
may get the above kind of error even for XML re-encoding as you can't
use NCR in names.

David


-- 
The LaTeX Companion
  http://www.awprofessional.com/bookstore/product.asp?isbn=0201362996
  http://www.amazon.co.uk/exec/obidos/tg/detail/-/0201362996/202-7257897-0619804


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread