XML Parsing

Amit Khemka khemkaamit at gmail.com
Wed Mar 28 04:00:09 EDT 2007


On 28 Mar 2007 00:38:38 -0700, pyapplico at gmail.com <pyapplico at gmail.com> wrote:
> I want to parse this XML file:
>
> <?xml version="1.0" ?>
>
> <text>
>
> <text:one>
> <file>filename</file>
> <contents>
> Hello
> </contents>
> </text:one>
>
> <text:two>
> <file>filename2</file>
> <contents>
> Hello2
> </contents>
> </text:two>
>
> </text>
>
> This XML will be in a file called filecreate.xml
>
> As you might have guessed, I want to create files from this XML file
> contents, so how can I do this?
> What modules should I use? What options do I have? Where can I find
> tutorials? Will I be able to put
> this on the internet (on a googlepages server)?

http://effbot.org/zone/celementtree.htm


HTH,
-- 
----
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.



More information about the Python-list mailing list