read/write XML

Torsten Mohr tmohr at s.netic.de
Sun Aug 1 19:07:53 CEST 2004


Hi,

i just took a look into the python documentation regarding XML.
XMLDOM look quite big, so i took another look at "minidom".

So is minidom the preferred way to go to read an XML, handle
its data and also write XML?

In the example (13.7.2, SLideshow) the structure seems to be
read into a "dom", but to check its structure against some
criteria seems to be completely missing, e.g.:

- only defined elements used
- at least one slide in the slideshow
- others ...

How can i check a "dom" against these criteria?


Best regards,
Torsten.




More information about the Python-list mailing list