|
|
 |
 |
 |
 |
Python Programming Language
|
 |
 |
 |
 |
 |
 |
 |
 |
Xml parser
Hi All, I want to know weather is there any api available in python for parsing xml(XML parser) Regards Ashish
ashish skrev: > Hi All, > I want to know weather is there any api available in python for parsing > xml(XML parser)
I have had very good succes with lxml -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science
On 5/24/07, ashish <q16@motorola.com> wrote: > Hi All, > I want to know weather is there any api available in python for parsing > xml(XML parser)
Checkout cElementTree . Cheers, -- ---- Amit Khemka -- onyomo.com Home Page: www.cse.iitd.ernet.in/~csd00377 Endless the world's turn, endless the sun's Spinning, Endless the quest; I turn again, back to my own beginning, And here, find rest.
On May 25, 7:04 am, "Amit Khemka" <khemkaa@gmail.com> wrote:
> On 5/24/07, ashish <q16 @motorola.com> wrote: > > Hi All, > > I want to know weather is there any api available in python for parsing > > xml(XML parser) > Checkout cElementTree . > Cheers, > -- > ---- > Amit Khemka -- onyomo.com > Home Page:www.cse.iitd.ernet.in/~csd00377 > Endless the world's turn, endless the sun's Spinning, Endless the quest; > I turn again, back to my own beginning, And here, find rest.
And don't forget about Beautiful Soup: http://www.crummy.com/software/BeautifulSoup/ Mike
You can use DOM http://diveintopython.org/, Chapter 9 "ashish" wrote
> Hi All, > I want to know weather is there any api available in python for parsing > xml(XML parser) > Regards > Ashish
XiaQ wrote: > You can use DOM > http://diveintopython.org/, Chapter 9 > "ashish" wrote >> Hi All, >> I want to know weather is there any api available in python for parsing >> xml(XML parser) >> Regards >> Ashish
Sure, you can use DOM, but if you want to get real work done with XML, lxml is what you actually want. http://codespeak.net/lxml/dev/ Stefan
|
 |
 |
 |
 |
|