Liquid XML Studio 2019
XSD Editor Cmd Line Interface
XSD Editor > XSD Editor Cmd Line Interface

XSD Documentation Generation

The documentation Generation can be run from the command line. In order to do this the /XsdDoc argument must be specified.

/XsdDoc Generates HTML documentation for an XSD.
/XsdDocType=Html|Aspx|Custom The type of documents to generate.
/XsdDocTemplate=<xslt file> If XsdDocType=Custom then this is the XSLT file used to perform the documentation generation.
/XsdDocOut=<outputDir> The full path where the HTML files will be written.
/XsdDocTitle=<title>  The title of the documentation.
[/XsdDocDesc=<desc>] The description of the documentation.
[/XsdDocSchemas=<url>]   Additional schemas, separated by ; or a XsdDocSchemas parameter for each schema.
[/XsdDocParam=param:value]

Parameter values passed to transform.

Built in values:
          DisqusShortName:<Disqus username>
          DisqusThreadID:<Disqus thread UID>
Note : Multiple parameters can be added on the command line.

 

Example - Generate HTML Documentation:
Copy Code
XmlStudio.exe C:\Schemas\MySchema.xsd /XsdDoc 
/XsdDocType=Html /XsdDocOut="C:\My Output" /XsdDocTitle="My Schema" /Close

 

Flatten XSD file

An XSD with one or more xs:include's can be flattened into a single XSD using the following options.

If the source XSD contains multiple target namespaces this is not possible, see XSD Editor Flatten Schema

/FlattenXsd Flattens an XSDs xs:includes and xs:redefines into a single file.

 

Example - Generate HTML Documentation:
Copy Code
XmlStudio.exe C:\Schemas\MySchema.xsd /FlattenXsd /Close

 

 

See Also

User Interface