Re: parsing XSD

2008-08-10 Thread Spitfire
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Stefan, Stefan Behnel wrote: | BTW, if you want to write XML handling code that lets you understand what you | are doing, try ElementTree or lxml. lxml also has support for XML Schema, in | case you want to do more than parsing with it. | | Stefan

parsing XSD

2008-08-09 Thread Spitfire
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ~ I'm trying to use xml.dom.minidom parser to parse a XML schema file. And, when I invoke 'childNodes' on the root element (schema) I get all the nodes defined under it, instead of just getting the child nodes at the first level! Why? - -- _ _ _]{5p