Products         Services         Customers         News         Downloads         Licensing         Shop    

 DocFlex Technology

About
Key Features
Data Processing
Formatting
Templates / Template Designer
Documentation

 DocFlex/XML

About
Documentation
Samples
XSDDoc
Features
Organization
Examples
Templates
FAQ
Integrations
Tutorials

 DocFlex/Javadoc

About
Documentation
Templates
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

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.7 MB

3

DocBook 4.4

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

7

1345 / 484

174 sec /
73 sec

HTML

11.5 MB

4

DocBook 5.0

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

3

396 / 362

182 sec /
93 sec

HTML

9.4 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.2 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

595 KB

7

WSDL 1.1

http://schemas.xmlsoap.org/wsdl/
http://schemas.xmlsoap.org/wsdl/soap/
http://schemas.xmlsoap.org/wsdl/http/
http://schemas.xmlsoap.org/wsdl/mime/

4

103 / 72

21 sec /
9 sec

HTML

469 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

336 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.6 MB

10

XSLT 2.0

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

3

265 / 162

45 sec /
30 sec

HTML

2.0 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

689 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:

Overview Summary, RTF, p.1 Schema Overview, RTF, p.19 Schema Overview, RTF, p.381

All Component Summary, Namespace Bindings:

All Component Summary, RTF, p.2 All Component Summary, RTF, p.17 Namespace Bindings, RTF, p.390

Element documentation:

Element Documentation, RTF, p.70 Element Documentation, RTF, p.71 Element Documentation, RTF, p.72

Complex Type documentation:

Complex Type Documentation, RTF, p.255 Complex Type Documentation, RTF, p.256 Complex Type Documentation, RTF, p.257

Simple Type documentation:

Simple Type Documentation, RTF, p.323 Simple Type Documentation, RTF, p.348 Simple Type Documentation, RTF, p.349

Element Group, Global Attribute, Attribute Group documentation:

Element Group Documentation, RTF, p.357 Global Attribute Documentation, RTF, p.385 Attribute Group Documentation, RTF, p.389

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

XML Schema documentation in RTF format open with OpenOffice.org Writer under Linux

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:
Using XHTML in XML Schema annotations (HTML demo)

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:
Using XHTML in XML Schema annotations (RTF demo) Using XHTML in XML Schema annotations (RTF demo) Using XHTML in XML Schema annotations (RTF demo)

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