Element Based XML Parsing

Posted by demos on Stack Overflow See other posts from Stack Overflow or by demos
Published on 2010-06-17T04:40:40Z Indexed on 2010/06/17 5:13 UTC
Read the original article Hit count: 502

Filed under:
|
|

I have an XML document which reads like this:

<xml>
<web:Web>
<web:Total>4000</web:Total>
<web:Offset>0</web:Offset>
</web:Web>
</xml>

my question is how do I access them using a library like BeautifulSoup in python?

xmlDom.web["Web"].Total ? does not work?

© Stack Overflow or respective owner

Related posts about Xml

Related posts about beautifulsoup