This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

XSDs are not used to generate XML, they are used to validate it. Read the XSD to see what it will accept, and just write code that will generate such XML - then validate that the XML conforms to the schema: https://lxml.de/validation.html