Products         Services         Customers         News         Downloads         Licensing         Shop    

 DocFlex Technology
About
Features
Documentation
 DocFlex/XML
About
Documentation
Samples
XSDDoc
Features
Organization
Examples
Templates
FAQ
WSDLDoc
Integrations
Bundles
Tutorials
 DocFlex/Javadoc
About
Documentation
Basic Templates
JavadocPro
Examples
Tutorials
 DocFlex/Together
About
Examples
Basic Templates
Documentation
Tutorials
 Try
Downloads
Registration
Trial License
 Buy
Licensing/Pricing
Shop
 Company
News
Products
Services
Customers
About Us
Imprint
Legal
Contact
Links
 

DocFlex/XML - XSDDoc - Examples

  1. HTML Documentation
  2. RTF Documentation
  3. Using XHTML in annotations

1.  HTML Documentation

These are screenshots of a framed HTML documentation generated directly from http://www.w3.org/2001/XMLSchema.xsd (click to see the real HTML):
In the following table, you can see a number of Javadoc-like framed HTML documentations generated with DocFlex/XML RE by various big XML schemas using FramedDoc.tpl template:

#

Schema / Source URL(s) / Location

Processed
XSD files

Generated
HTML files /
diagrams

Gen. time
with/without
diagrams

View
online

Download
(zip)

1

XML Schema for XML Schemas

http://www.w3.org/2001/XMLSchema.xsd

2

178 / 102

31 sec /
19 sec

HTML

1.9 MB

2

XML Schemas for Eclipse UML2

http://www.eclipse.org/uml2/
uml2-SDK-xxx.zip/eclipse/plugins/org.eclipse.uml2_2.0.0.jar/model/
ecore.xsd, UML2XMI.xsd, XMI.xsd

3

845 / 808

228 sec /
77 sec

HTML

18.5 MB

3

DocBook 4.4

http://www.docbook.org/xsd/4.4/docbook.xsd

7

1345 / 484

174 sec /
73 sec

HTML

11.2 MB

4

DocBook 5.0

http://www.docbook.org/xsd/5.0/docbook.xsd

3

396 / 362

182 sec /
93 sec

HTML

8.1 MB

5

DITA 1.1

http://docs.oasis-open.org/dita/v1.1/OS/schema/catalog.xml
http://docs.oasis-open.org/dita/v1.1/OS/schema/ditabase.xsd
http://docs.oasis-open.org/dita/v1.1/OS/schema/ditaarch.xsd

25

725

62 sec

HTML

2.0 MB

6

SOAP 1.1

http://schemas.xmlsoap.org/soap/envelope/
http://schemas.xmlsoap.org/soap/encoding/

2

138 / 108

19 sec /
9 sec

HTML

539 KB

7

WSDL 1.1

http://schemas.xmlsoap.org/wsdl/
http://schemas.xmlsoap.org/wsdl/soap/
http://schemas.xmlsoap.org/wsdl/soap12/wsdl11soap12.xsd
http://schemas.xmlsoap.org/wsdl/http/
http://schemas.xmlsoap.org/wsdl/mime/

4

103 / 72

21 sec /
9 sec

HTML

539 KB

8

WSDL 2.0

http://www.w3.org/2002/ws/desc/ns/wsdl20.xsd
http://www.w3.org/2002/ws/desc/ns/wsdl-instance.xsd
http://www.w3.org/2002/ws/desc/ns/wsdl-extensions.xsd

3

65 / 41

20 sec /
9 sec

HTML

311 KB

9

XHTML 1.1

http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd
http://www.w3.org/MarkUp/SCHEMA/xhtml-copyright-1.xsd

37

545 / 274

102 sec /
38 sec

HTML

5.1 MB

10

XSLT 2.0

http://www.w3.org/2007/schema-for-xslt20.xsd

3

265 / 162

45 sec /
30 sec

HTML

1.9 MB

11

Apache Maven POM 4.0.0

http://maven.apache.org/xsd/maven-4.0.0.xsd

1

135 / 125

28 sec /
16 sec

HTML

599 KB

Explanations of Table Columns

Schema
The topic of the XML schema documentation. For example: “DITA 1.1” is the “Darwin Information Typing Architecture (DITA) Version 1.1”
Source URL(s) / Location
The locations of the initial source XML schema definition (XSD) files specified directly to the generator. Any other XSD files processed during the generation have been picked by the generator automatically while processing <xs:import>, <xs:include> and <xs:redefine> elements.
Processed XSD files
The total number of XSD files processed during the entire generation (including both those specified directly on the command line and loaded automatically by the generator while processing the importing elements).
Generated HTML files / diagrams
The total number of generated HTML documents / content model diagrams (which are PNG graphics files generated by Altova XMLSpy® 2009 via DocFlex/XML XMLSpy Integration).
Generation time with / without diagrams
The first is the generation time of the displayed HTML documentation, which includes content model diagrams. It actually covers the following operations:
  1. Loading the XML schemas from Internet by DocFlex/XML generator and primary processing of them.
  2. Launching XMLSpy, opening with it the same XML schemas and having it generate the diagram graphics files, quitting XMLSpy.
  3. Further processing by DocFlex/XML and generation of the HTML output.
The second is the time needed to generate the same documentation without diagrams (that is without any involvement of XMLSpy).

All tests were run on the following computer platform: Intel Core 2 Duo E6600 based system with 2Gb RAM / Windows XP / Java SE 1.6.0_14.

View online
The result documentation published on this website.
Download (zip)
The zip archive with the same documentation prepared for free downloads.

2.  RTF Documentation

This is a single file RTF documentation generated by “XMLSchema.xsd” schema using PlainDoc.tpl template:

Schema

XML Schema for XML Schemas

Source URL

http://www.w3.org/2001/XMLSchema.xsd

Processed XSD files

2

Generation time (with
and without diagrams)

38 sec / 21 sec (computer: Intel Core 2 Duo E6600 based / Windows XP / Java SE 1.6.0_14)

Result RTF

6.6 MB (with diagrams; the content is reduced in comparison with the HTML variant)

Number of pages

390

Download (zip)

1.9 MB (includes both framed HTML and RTF docs)

Below are screenshots of some pages from the result RTF (click to enlarge).

Project Overview, Schema Overviews:

All Component Summary, Namespace Bindings:

Element documentation:

Complex Type documentation:

Simple Type documentation:

Element Group, Global Attribute, Attribute Group documentation:

The following picture shows a similar RTF documentaton generated under Linux and open with OpenOffice.org Writer (click to see the full-size screenshot):

3.  Using XHTML in annotations

The following example demonstrates what can be achieved by using XHTML markup and images in your XML schema annotations.

Framed HTML

Click on the screenshot to see an HTML documentation generated with the FramedDoc.tpl template:

RTF Demo

Click on the screenshots to see the real size MS Word page previews of an RTF documentation generated with the PlainDoc.tpl template:

Copyright© 2003-2012 Filigris Works, Leonid Rudy Softwareprodukte. All rights reserved.