Flatten XML Schema
Attention: To run this script, you are required to
purchase a special scripting commercial license.
You can flatten an XML schema that contains multiple includes and redefines to a single schema file from Oxygen XML Author by using the main menu action. You can use the equivalent scripts/flattenSchema.sh script to flatten an XML schema from the command line.
Sample Command Line for the Flatten Schema Script
sh scripts/flattenSchema.sh [-in:inputSchemaURL -outDir:outputDirectory
[-flattenImports:<boolean_value>]
| [-useCatalogs:<boolean_value>]
[-flattenCatalogResolvedImports:<boolean_value>] [-verbose]]