> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <!DOCTYPE document [
> <!ENTITY % test SYSTEM "test.xml">
> %test;
> ]>
>
> <document>
> <body>
> <section name="Section">
> <subsection name="Subsection">
> <ul>
> <li>
> <strong>
> THIS IS THE SUBSECTION CONTENT
> </strong>
> &test;
> </li>
> </ul>
> </subsection>
> </section>
> </body>
> </document>
>
> Here is test.xml:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <document>
> <body>
> THIS IS A TEST
> </body>
> </document>
Your xml file is not well formed : you have 2 <?xml version="1.0"
encoding="ISO-8859-1"?>, 2 <document> and 2 <body>.
Result will be :
<?xml version="1.0" encoding="ISO-8859-1"?>
<document>
<body>
<section name="Section">
<subsection name="Subsection">
<ul>
<li>
<strong>
THIS IS THE SUBSECTION CONTENT
</strong>
<?xml version="1.0" encoding="ISO-8859-1"?>
<document>
<body>
THIS IS A TEST
</body>
</document>
</li>
</ul>
</subsection>
</section>
</body>
</document>
Use a test.xml with :
THIS IS A TEST
Nicolas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]