Click to See Complete Forum and Search --> : How to validate xml against Schema in PYTHON


rockets12345
May 3rd, 2004, 11:45 AM
Hi,
I am pretty new to python/xml and need some help. I am trying to parse an xml file and validate it against a schema. I did parsed the file but have no idea how to validate it using schema, because I need to validate the xml file using 3 to 4 different schemas (.xsd files). In my xml file different parts needs to be validated using different schema files. Every xml NODE's are validated using different schemas and childnodes may inturn points to different schema for validation. How should I get arround this using python Any help is appreciated a small example will help alot. Thanks