I have spent hours looking for this but I couldn't find any answer... I have an XSD file (given by another source) and I am trying to create an XML file that complies with that. I have all the data ready to data structures. All I need to do is to export data as XML BY FOLLOWING the XSD. Is that possible?
I am not looking to export XSD to XML, neither to validate XML nor to parse XML. I start from scratch, I read XSD and based on that I am trying to create XML by mapping my data structures to the allowed elements from XSD.
Conceptually, it seems doable.... however, I haven't found any answer yet. Any ideas and suggestions (preferably in Python 2) are more than welcome.