[xml] Entity substitution

Date view Thread view Subject view Author view

From: Philipp Kursawe (kursawe@bluebyte.de)
Date: Wed Feb 07 2001 - 10:39:53 EST


Hello it's me again :)

First of all thanks you all for the reply on my "Encoding and Win32" topic.
I have solved the problem now I hope. Last I've to test are chinese texts :)

Now I have another question about libxml and its handling of external system
entities.

I want to substitute another file into my main xml file.

This external file contains well formed xml content.

main.xml

<languages>
        &lang;
</languages>

lang is an external entity.
<!ENTITY lang SYSTEM "language.xml">

Now when traversing the languages chunk the enitity reference is not
resolved, the languages element is empty and has no children.

Something I missunderstand about external entities or a declaration error?

Thanks for any help,
Philipp

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Feb 07 2001 - 10:44:08 EST