Document.FlattenDTDOrSchema
Method: FlattenDTDOrSchema (sOutputPath as String, nOutputPathDialogAction as SPYDialogAction)
Parameters
sOutputPath
The file path for the newly generated file.
nOutputPathDialogAction
Defines the dialog interaction for this call.
Description
FlattenDTDOrSchema takes an existing DTD or schema, generates a flattened file, and saves the generated file at the specified location. In the case of DTDs, flattening removes parameter entities and produces a single DTD from a collection of modules; sections marked IGNORE are suppressed and unused parameter entities are deleted. When an XML Schema is flattened, (i) the components of all included schemas are added as global components of the active schema, and (ii) included schemas are deleted.
Errors
1400 | The object is no longer valid. |
1412 | Error during conversion. |