[BangPypers] parsing xml

Venkatraman S venkat83 at gmail.com
Fri Jul 29 08:07:35 CEST 2011


On Fri, Jul 29, 2011 at 11:31 AM, Noufal Ibrahim <noufal at gmail.com> wrote:

>
> > Well, i have clearly mentioned my assumptions - i.e, when you treat
> > the XML as a 'string' and do not want to retrieve anything else in a
> > 'structured manner'.
>
>
> If the data is structured, it makes sense to exploit that structure and
> use a proper solution.
>

yes, and xml parsing is a bad way when you are not interested in the xml
structure..


> I find it highly unlikely that for a large program sufferring from low
> performance, replacing an XML parser with a regexp based parser will
> significantly improve peformance.
>

Sigh! Again, guys, i am referring to regexp when all you need is some number
within a tag!
If the content of that tag was text, i would have never suggested this
solution.

HTH.


More information about the BangPypers mailing list