xml parsing escape characters

Irmen de Jong irmen at -nospam-remove-this-xs4all.nl
Thu Jan 20 12:06:56 EST 2005

Kent Johnson wrote:
> 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.

The unescaping is usually done for you by the xml parser that you use.


More information about the Python-list mailing list