XML for beginners

M

matt

Maybe I'm stupid, but I've read the python XML howto tutorial, and I
am none the wiser as to how to parse an xml file in order to use the
contents within a python script.

Can someone point me to a tutorial or document on-line showing how to
parse xml. It's got to be for dummies, because I'm clearly not up to
much in the brain department.

Thanks

Matt
 
D

Diez B. Roggisch

matt said:
Maybe I'm stupid, but I've read the python XML howto tutorial, and I
am none the wiser as to how to parse an xml file in order to use the
contents within a python script.

Can someone point me to a tutorial or document on-line showing how to
parse xml. It's got to be for dummies, because I'm clearly not up to
much in the brain department.

I always found the articles at IBM developerworks enlighting - especially
from Uche Ogbuji

http://uche.ogbuji.net/tech/4Suite/ibmdw-tutorial/

He is amongst the creators of 4Suite, a brilliant xml related toolkit.

And there are some other xml/python related articles on developerworks.

Regards,

Diez
 
P

Paul Boddie

Can someone point me to a tutorial or document on-line showing how to
parse xml. It's got to be for dummies, because I'm clearly not up to
much in the brain department.

Take a look at this simple tutorial I wrote a while ago:

http://www.boddie.org.uk/python/XML_intro.html

Mentions of xhtmlhook refer to this document:

http://www.boddie.org.uk/python/xhtmlhook/index.html

You can either ignore xhtmlhook in the tutorial or use it to import
the tutorial functions into a Python session or script. Good luck!

Paul
 
W

Werner Schiendl

Hello,

I found XML.com an excellent resource for XML programming (in general,
not only in Python).

In particular, the "Python & XML" column provides a lot of hands on
articles about various toolkits and techniques which are especially
helpful if you are (like me) the hands-on type when learning.

There are also 2 articles about the "state of Python-XML art" for 2002
and 2003.

http://www.xml.com/pub/q/pyxml


hth

Werner
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,269
Messages
2,571,338
Members
48,029
Latest member
Anchorman2022

Latest Threads

Top