Document.ConvertDTDOrSchemaEx

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Programmers' Reference > Application API > Interfaces > Document >

Document.ConvertDTDOrSchemaEx

See also

 

Method: ConvertDTDOrSchemaEx (nFormat as SPYDTDSchemaFormat, nFrequentElements as SPYFrequentElements, sOutputPath as String, nOutputPathDialogAction as SPYDialogAction)

 

 

Parameters

nFormat

Sets the schema output format to DTD, or W3C.

 

nFrequentElements

Create complex elements as elements or complex types.

 

sOutputPath

The file path for the newly generated file.

 

nOutputPathDialogAction

Defines the dialog interaction for this call.

 

 

Description

ConvertDTDOrSchemaEx takes an existing schema format and converts it into a different format.

 

 

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.

 


© 2019 Altova GmbH