Re: reading XML file using python

2010-05-17 Thread Alessandro Molari
I can suggest you the lxml library at http://codespeak.net/lxml/ I've already used it and I think it works very well, it's more pythonic than the built-in xml library For a simple use of xml functionalities you can read http://codespeak.net/lxml/tutorial.html Alessandro Molari ---

Re: reading XML file using python

2010-05-17 Thread Simon Brunning
On 17 May 2010 10:43:06 UTC+1, Shanti Bhushan wrote: > Hi simon, > you are right in 2nd paragaraph. > i have a piece of XML with some URLs in it that i want to > extract. > I have no clue from where to get help on this. > Please atleast guide me for document or link where i can get such help > i c

Re: reading XML file using python

2010-05-17 Thread Stefan Behnel
superpollo, 17.05.2010 11:24: Simon Brunning ha scritto: On 17 May 2010 09:34:51 UTC+1, shanti bhushan wrote: i am new to python.i want to read the XML file using python it ,by using DOm or SAX any of them. I want to read the http://www.google.com(any hyper text) from XML and print that. please

Re: reading XML file using python

2010-05-17 Thread superpollo
Simon Brunning ha scritto: On 17 May 2010 09:34:51 UTC+1, shanti bhushan wrote: Hi , i am new to python.i want to read the XML file using python it ,by using DOm or SAX any of them. I want to read the http://www.google.com(any hyper text) from XML and print that. please give me the sample progr

Re: reading XML file using python

2010-05-17 Thread Simon Brunning
On 17 May 2010 09:34:51 UTC+1, shanti bhushan wrote: > Hi , > i am new to python.i want to read the XML file using python it ,by > using DOm or SAX any of them. > I want to read the http://www.google.com(any hyper text) from XML and > print that. > please give me the sample program for this. Your

Re: reading XML file using python

2010-05-17 Thread Franz Kelnreiter
2010/5/17 shanti bhushan : > Hi , > i am new to python.i want to read the XML file using python it ,by > using DOm or SAX any of them. > I want to read the http://www.google.com(any hyper text) from XML and > print that. > please give me the sample program for this. Hi Shanti, The question how to r

Re: reading XML file using python

2010-05-17 Thread Stefan Behnel
shanti bhushan, 17.05.2010 10:34: i am new to python.i want to read the XML file using python it ,by using DOm or SAX any of them. I want to read the http://www.google.com (any hyper text) from XML and print that. Note that web sites usually are HTML, not XML. Are you sure you want to read XML

reading XML file using python

2010-05-17 Thread shanti bhushan
Hi , i am new to python.i want to read the XML file using python it ,by using DOm or SAX any of them. I want to read the http://www.google.com(any hyper text) from XML and print that. please give me the sample program for this. regards Shanti Bhushan Bangalore,India -- http://mail.python.org/mailm