[SOLVED] Re: problems with encoding and SAX

Daniel Clerc <[email protected]>
Newsgroups gmane.comp.python.xml
Message-ID <[email protected]>
Hi!

Thanks for your help!

In the XML-file are illegal chars. See:
http://www.w3.org/TR/2004/REC-xml-20040204/#charsets for legal chars.

So I need to build a regexp in order to get rid off the unwanted characters.

 best regards,

 Daniel


On 2/9/06, Daniel Clerc <[email protected]> wrote:
> Hi everybody!
>
> I have some trouble with SAX and encondings...
>
> When I try to parse the following XML-code:
>
> <?xml version="1.0" encoding="WINDOWS-1252" ?>
> </TRANSACTION>
> <TRANSACTION TIME="03.04.2003 01:52:15" TIME_CODED="37714.0779513889"
> DURATION="1001">
>   <QUESTION>K'R&#174;</QUESTION>
<SNAPP>
_______________________________________________
XML-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/xml-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.