Skip to content
Advertisement

Tag: xml

Validating with an XML schema in Python

I have an XML file and an XML schema in another file and I’d like to validate that my XML file adheres to the schema. How do I do this in Python? I’d prefer something using the standard library, but I can install a third-party package if necessary. Answer I am assuming you mean using XSD files. Surprisingly there aren’t

Advertisement