parsing XSD
-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? - -- _ _ _]{5pitph!r3}[_ _ _ __ “I'm smart enough to know that I'm dumb.” ~ - Richard P Feynman -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFInoWRKVWYDRRZoskRAs3PAJ9DSQYrQGQ6rsfNFddRMYG/8UcIeQCgqE1Y KCx3mc2ly2Q3GNBUnJB7kbY= =+O/T -END PGP SIGNATURE- -- http://mail.python.org/mailman/listinfo/python-list
Re: parsing XSD
-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 Thanks! - -- _ _ _]{5pitph!r3}[_ _ _ __ “I'm smart enough to know that I'm dumb.” ~ - Richard P Feynman -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIn05gKVWYDRRZoskRAm0aAKCk3Sc7amPz16t1fhBaeSMvqJtnEgCffLL2 YHO0ahXp4cAese+zPSrzyH0= =yQIO -END PGP SIGNATURE- -- http://mail.python.org/mailman/listinfo/python-list