XML Parsing
Christian
ckkart at hoc.net
Wed Mar 28 08:22:03 EDT 2007
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)?
>
> Thanks in advance to everyone who helps me.
> And yes I have used Google but I am unsure what to use.
>
Try this:
http://www.python.org/doc/2.4.1/lib/expat-example.html
Christian
More information about the Python-list
mailing list