Using XML w/ Python...

Jay JMailone at gmail.com
Sun Dec 11 18:13:01 EST 2005


some great suggestions.
Ok, i am now understanding some of parseing and how to use it and
nodes, things like that. But say i wanted to take the title of
http://www.digg.com/rss/index.xml

and XMLTramp seemed the most simple to understand.

would the path be something like this?

import xmltramp
rssDigg = xmltramp.load("http://www.digg.com/rss/index.xml")
print note.rss.channel.item.title


I think thats wat im having the most confusion on now, is how to direct
to the path that i want... 
Suggestions?




More information about the Python-list mailing list