473,378 Members | 1,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

XML for beginners

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
Jul 18 '05 #1
3 4365
matt wrote:
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
Jul 18 '05 #2
dm*****@yahoo.com (matt) wrote in message news:<98**************************@posting.google. com>...

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
Jul 18 '05 #3
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
matt wrote:
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


Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: P.Hill | last post by:
I was just trying to install Apache and php on an XP box for test of a PHP website I built last year. It was my first and only, so I am now rusty about the little I did learn last year. I get...
0
by: Jeff Wagner | last post by:
I found an excellent tutorial at the following location. I found it very helpful and a good refresher for some things I had forgottent ... thought I'd share this with other beginners. ...
7
by: Will | last post by:
Pardon two post in a row to the newsgroup but I want to try and expedite this, if you guys don't mind helping out... I running Windows XP Pro and wanted to download Python and any additional...
38
by: BORT | last post by:
Please forgive me if this is TOO newbie-ish. I am toying with the idea of teaching my ten year old a little about programming. I started my search with something like "best FREE programming...
4
by: blah | last post by:
I m actually a Novice in Python as well as Linux, When i look up things on the internet about Linux Flavours, They are written so complex that it is difficult for me to understand, i am asking if...
4
by: Eggnog | last post by:
Hi, Is there a newsgroups for beginners questions? Cheers, Nawg
6
by: William Foster | last post by:
Does anyone know of a good online tutorial for C# focused on beginners. I have been to many great sites like csharpfriends, csharp-corner etc looking for good tutorials and have had no luck. Any...
4
by: aman firoz | last post by:
do you people got anything for c beginners..... help me out guys
0
by: Dual_b00t | last post by:
hi i created a site called PHP Together its for beginners also for gurus to help out the beginners if you are learning PHP and feel alone then drop by . ciao Mark
19
by: yltkhuu | last post by:
1. How does having a widely adopted C++ standard help game programmers? 2. What are the advantages ans disadvantages of employing the "using" directive? 3. Why might you define a new name for an...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.