View Full Version : How can I parse xsd file in python ?
hoboy
July 7th, 2010, 09:40 AM
I have an xsd file for example test.xsd
inside the file I have <xs:include schemaLocation="../test/test.xsd"/>
I will like to open this file to check if the test.xsd exist.
any good library for parsing xml ?
or an example of how to do this ?
regala
July 7th, 2010, 11:17 AM
I have an xsd file for example test.xsd
inside the file I have <xs:include schemaLocation="../test/test.xsd"/>
I will like to open this file to check if the test.xsd exist.
any good library for parsing xml ?
or an example of how to do this ?
google ?
km0r3
July 7th, 2010, 01:42 PM
I have an xsd file for example test.xsd
inside the file I have <xs:include schemaLocation="../test/test.xsd"/>
I will like to open this file to check if the test.xsd exist.
any good library for parsing xml ?
or an example of how to do this ?
Hoboy,
I've queried Google and it returned immediately good results:
http://lele85.netsons.org/blog/2009/06/04/validate-and-parse-an-xml-using-xml-schema-in-python/
http://groups.google.com/group/comp.lang.python/browse_thread/thread/56a457531142f485
http://mail.python.org/pipermail/xml-sig/2001-December/006702.html
Do those resources answer your question?
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.