[BangPypers] parsing xml

Noufal Ibrahim noufal at gmail.com
Sun Jul 31 18:46:43 CEST 2011


Anand Balachandran Pillai <abpillai at gmail.com> writes:

> On Fri, Jul 29, 2011 at 4:41 PM, Venkatraman S <venkat83 at gmail.com> wrote:

[...]

> To be fair here, I think what he is saying is that Kenneth's problem
> (getting at the particular value) can be solved by using an aptly
> written regular expression which might be the fastest - not in terms
> of CPU cycles alone, but in terms of time to code it up - solution.

That would depend on what one is familiar with. If all one has is a
hammer... etc.

Anand's minidom thing is a one liner. 

I understand what Venkat is saying. He's treating the data as a string
rather than an XML fragment for his purposes and using a regexp to get
the data out of it. 


[...]


-- 
~noufal
http://nibrahim.net.in

Monotheism is a gift from the gods.


More information about the BangPypers mailing list