Luis P. Mendes wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

this is the xml document:

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://www......";>&lt;DataSet&gt;
~   &lt;Order&gt;
~     &lt;Customer&gt;439&lt;/Customer&gt;
    (... others ...)
~   &lt;/Order&gt;
&lt;/DataSet&gt;</string>

This is an XML document containing a single tag, <string>, whose content is text containing entity-escaped XML.


This is *not* an XML document containing tags <DataSet>, <Order>, <Customer>, 
etc.

All the behaviour you are seeing is a consequence of this. You need to unescape the contents of the <string> tag to be able to treat it as structured XML.

Kent
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to