 |
 |
 |
jodleren wrote:
> When I open the file in notepad, I can save it as unicode, I have to
> do so. An ordanirary text document does not do it.
> This might cause problems ahead, therefor it would be easier for me to
> use ø instead. Would that in any way be possible?
I stronly suggest to use Unicode encodings like UTF-8 or UTF-16, that is
what XML parsers have to support.
If you want to use other encodings then you need to simply declare them
in the XML declaration e.g.
<?xml version="1.0" encoding="ISO-8859-1"?>
is certainly possible.
As for using an entity reference, you would need to declare the entities
first in a document type definition. See
http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent for how to do that. But
be aware that non-validating parsers might not read any external
resources so you would need to include the definition in the internal
subset to ensure that any XML parser knows the entities.
--
Martin Honnen
http://JavaScript.FAQTs.com/
|
 | 

|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |