[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[xml] Re: [xml] ä,ö,ü in xml file
- From: Daniel Veillard <veillard redhat com>
- To: Gero Gräber <GeGraeber sysdesign-edv de>
- Cc: xml gnome org
- Subject: [xml] Re: [xml] ä,ö,ü in xml file
- Date: Fri, 17 Jan 2003 05:53:42 -0500
On Fri, Jan 17, 2003 at 11:47:34AM +0100, Gero Gräber wrote:
> Hello libxml Experts,
>
> I want to use german ä ,ö ,ü letters in my xml File. I use ä and ü ... for the german "umlaute".
> But I got this error, when running xmlParseFile(), in the console window in Windows 2000 (no compile or linking errors):
>
> " ../xml/website.xml:178: error: Entity 'ouml' not defined
> <beschreibung>Karrierebörse</beschreibung> "
>
> I haven´t expected that, because & is read without any problems.
& is a predefined XML entity. Any non-predefined entity must be declared
in the DTD. Simply use "ä ,ö ,ü" directly and make sure your whole
file is correct ISO-8859-1 and declare it as
<?xml version="1.0" encoding="ISO-8859-1"?>
That's not a libxml related question. It's purely an XML question,
independant of the software used to process the data.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]