Remote XML Parsing

P

pyapplico

How can I parse a remote XML file with Python?
And what will I be able to do with this XML file in Python?

Sorry if this is a noob-ish question.
 
L

Laurent Pointal

(e-mail address removed) a écrit :
How can I parse a remote XML file with Python?
And what will I be able to do with this XML file in Python?

Sorry if this is a noob-ish question.

You can process XML data with Python as long as you can get it - you
will be able to do what you want with it.

How do you access your remote file ?

....more details would be wellcome...
 
P

pyapplico

(e-mail address removed) a écrit :



You can process XML data with Python as long as you can get it - you
will be able to do what you want with it.

How do you access your remote file ?

...more details would be welcome...

Well I'll be happy to access in the way your comfortable with.
 
L

Laurent Pointal

Well I'll be happy to access in the way your comfortable with.

Net protocols -> urllib2 module
Local files (or network mounted files) -> open function
Remote call -> xmlrpc, omniORBpy, pyrpc...


Once you get the XML data... sax/dom/elementtree & Co (see Python docs, Dive
Into Python...).
 

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,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top