It is possible to provide your own templates to the XSD Schema Documentation Generator. The generator uses XSLT 2.0 to perform the code generation, so you must supply one or more XSLT stylesheets.
The XSLT stylesheet operates on an XML document that is generated from the XSD schemas.
The schema for this can be found at <Installation Folder>/DocTemplates/SchemaInfo.xsd.
The HTML and ASP.Net templates are provided for reference and can be found in
The following Folders and files have special meaning. There location is relative to the initial XSLT style sheet provided to the generator.
If your setup is as follows
When the code generation is run the following steps are performed.
Start off using the templates in '<Installation Folder>/DocTemplates/XsdToHtml'.
You will need to reference the 'Main.xslt' file when you generate the code.
Start off by tweaking 'SchemaTemplate.xslt' in order to get a better understanding of how the templates work.
The source data file 'SchemaInfo.XML' is deleted after the generation has completed, when developing the XSLT transforms it is often useful to keep this file, so you can re-run the transforms without having to go through the wizard. You can get a copy of this file by adding the following line to the 'PreTransform.bat', the file will be copied to the output folder.
Copy SchemaInfo.XML SchemaInfo_copy.XML
If you have the source file and the transforms you can then execute and debug the transform within the Liquid Studio environment - see XSLT Debugger Overview