Using XML w/ Python...

Dieter Verfaillie dieterv.removethis at optionexplicit.be
Sun Dec 11 06:38:40 EST 2005


On Sat, 10 Dec 2005 21:12:04 -0800, Jay wrote:

> OK, I have this  XML doc, i dont know much about XML, but what i want
> to do is take certain parts of the XML doc

the most simple module I've found to do that is xmltramp from
http://www.aaronsw.com/2002/xmltramp/

for example:

#!/usr/bin/env python
import xmltramp
note = xmltramp.load('http://www.w3schools.com/xml/note.xml')
print note.body



More information about the Python-list mailing list