Create a DTD from Learn Document Structure Option
When there is no schema associated with an XML document, Oxygen XML Developer can learn the document structure by parsing the document internally. This feature is enabled by the Learn on open document option that is available in the user preferences.
To create a DTD from the learned structure, follow these steps: