pydantic-xml
pydantic-xml copied to clipboard
How to set the DOCTYPE on an exported model?
It is very common, and often mandatory, to set the DOCTYPE in the header of the xml file: https://en.wikipedia.org/wiki/Document_type_declaration
I couldn't find anywhere in the documentation on how we can set this information. Is this possible or is this now a feature request?
I assume this would be specific for to_xml() output