Re: [XML-SIG] How to parse an XML in SAX

2007-12-03 Thread Martin v. Löwis
> Hi I want to parse an XML using sax but my big issue are the > WhiteSpaces when they get reported. I want to know how to efficiently > ignore them. I know there are some DocumentHandlers and one specific > for ignore Whitespace but I still come up with a bunch of invisible > nodes like \t or \n.

Re: [XML-SIG] How to parse an XML in SAX

2007-11-12 Thread Stefan Behnel
Alexandro Colorado wrote: > On Mon, 12 Nov 2007 05:06:56 -0600, Stefan Behnel <[EMAIL PROTECTED]> > wrote: >> Alexandro Colorado wrote: >>> Thanks for selling me into ElementTree however I cant because the >>> version of the Python distribution that is being shipped doesn't has >>> element tree

Re: [XML-SIG] How to parse an XML in SAX

2007-11-12 Thread Alexandro Colorado
On Mon, 12 Nov 2007 05:06:56 -0600, Stefan Behnel <[EMAIL PROTECTED]> wrote: > [going back to the list] > > Alexandro Colorado wrote: >> On Sun, 11 Nov 2007 21:38:21 -0600, Stefan Behnel <[EMAIL PROTECTED]> >> wrote: >> >>> The tool I actually mentioned, cElementTree, should also work just >>> f

Re: [XML-SIG] How to parse an XML in SAX

2007-11-12 Thread Stefan Behnel
[going back to the list] Alexandro Colorado wrote: > On Sun, 11 Nov 2007 21:38:21 -0600, Stefan Behnel <[EMAIL PROTECTED]> > wrote: > >> The tool I actually mentioned, cElementTree, should also work just >> fine on >> 2.3. Note also that ElementTree (without the 'c') is pure Python, so it >> does

Re: [XML-SIG] How to parse an XML in SAX

2007-11-11 Thread Stefan Behnel
Alexandro Colorado wrote: > Hi I want to parse an XML using sax Any reason why you would want to do that? > but my big issue are the WhiteSpaces > when they get reported. I want to know how to efficiently ignore them. I > know there are some DocumentHandlers and one specific for ignore >