Document.ConvertDTDOrSchema
Method: ConvertDTDOrSchema (nFormat as SPYDTDSchemaFormat, nFrequentElements as SPYFrequentElements)
Parameters
nFormat
Sets the schema output format to DTD or W3C.
nFrequentElements
Create complex elements as elements or complex types.
Description
ConvertDTDOrSchema takes an existing schema format and converts it into a different format.
For a finer tuning of DTD/XSD conversion, use ConvertDTDOrSchemaEx.
Errors
1400 | The object is no longer valid. |
1412 | Error during conversion. In the case of DTD to DTD or XSD to XSD conversion, the following errors are returned: DTD to DTD conversion is not supported. Please use function FlattenDTDOrSchema instead and Schema to schema conversion is not supported. Please use function FlattenDTDOrSchema instead. |