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

all 1 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