
April 19th, 2004, 08:47 AM
|
|
Contributing User
|
|
Join Date: Jul 2003
Posts: 30
Time spent in forums: < 1 sec
Reputation Power: 6
|
|
help with Python XML processing
Hi,
For a program I am writing, I access three files, and need to check three things:
(1) that file 'A' is an XML file
(2) that file 'B' is an XSLT file
(3) that file 'C' is an XML file with the specific root element 'bookdoc'
Please can someone tell me how I can do this? I have been struggling with DOM and the python minidom module with no results!
Please help,
Munna
|