DocFlex/XML, Version 1.7.0

Release Notes


Table Of Contents


Package Contents

LICENSE.html DocFlex Software License
README.html this file
doc/ DocFlex/XML & DocFlex Technology Documentation
*.bat Files prepared for Windows Installation:
designer.bat
  • launches the Template Designer
generator.bat
  • starts only generator from command line
update_templates.bat
  • updates your templates according to new DocFlex/XML version or new license
linux/ Files prepared for Linux Installation:
linux/designer.sh
  • shell script file to launch the Template Designer
linux/generator.sh
  • shell script file to start DocFlex/XML generator
linux/update_templates.sh
  • shell script to updates your templates according to new DocFlex/XML version or new license
linux/docflex.config
  • DocFlex main configuration file prepared for Linux
ant/ Ant example files:
ant/build.xml
  • The Ant build file that demonstrates how to integrate DocFlex/XML generator with the Apache Ant (in particular, this file executes the XSDDoc demo)
ant/make.bat
  • Windows command file to run Ant
ant/make.sh
  • Linux shell script to run Ant
lib/ Runtime Environment:
lib/docflex-xml.jar
  • DocFlex/XML Java library
lib/docflex.config
  • DocFlex main configuration file prepared for Windows Installation. This file contains locations of other configuration files and various important settings.
lib/xml-apis.jar
lib/xercesImpl.jar
config/ Configuration files (created and updated dynamically):
config/designer.config
  • The Template Designer configuration file
config/generator.config
  • The generator configuration file prepared to run a demo (normally, it is maintained automatically by the Generator GUI)
templates/ template applications
templates/XMLDoc/ The "XML File Documentor" (XMLDoc) template set:
templates/XMLDoc/PlainDoc.tpl
  • The template to generate single-file documentation (in HTML or RTF format).
templates/XMLDoc/FramedDoc.tpl
  • The template to generate framed HTML documentation.
templates/XMLDoc/xmldoc.xmltype
  • The configuration file that defines the 'xmldoc' XML type, on which all XMLDoc templates are based.
templates/XSDDoc/ The "XML Schema Documentation Generator" (XSDDoc) template set. For more details, see: templates/XSDDoc/README.html
samples/ Demo samples:
samples/sales/
  • "Sales Report" -- template sample
samples/personal/
  • "Alternative to XSLT" -- template sample
samples/HumanEvolution/
  • "XML Schema of Human Evolution" -- a demo XML schema that shows in every detail how to use XHTML and insert images in XML schema annotations. To see what a documentation it produces, just run this schema with either XSDDoc/FramedDoc.tpl (for framed HTML) or XSDDoc/PlainDoc.tpl (for RTF) template.

Technical Requirements

DocFlex/XML requires JavaTM 2 Runtime Environment (JDK or JRE) version 6.x, 5.x or 1.4.x installed on your system.

You can freely download Java from Sun Java Technology web-site: http://java.sun.com

DocFlex/XML is a pure Java application. The Template Designer GUI is implemented entirely using Swing. Therefore, everything is supposed to work on any operating system where Java2 Runtime Environment can be installed.

Specifically, the software includes both MS Windows BAT files and Linux shell script files to run DocFlex/XML immediately on those operating systems. See Windows Installation and Linux Installation respectively.

We were also reported that DocFlex/XML worked successfully under Mac OS X.

To parse XML files, DTDs and XML Schemas, DocFlex/XML uses Apache Xerces2 Java Parser version 2.9.0. In the case of any questions concerning this library, please refer to the Apache Xerces home page: http://xerces.apache.org.

To generate XML schema documentation (for big and middle sized XML schemas) using XSDDoc template set, you may need a powerful enough computer (e.g. with Intel Pentium 4 or AMD Athlon processor) and at least 512 MB RAM memory.

Licensing / Processing Modes

Depending on your license, DocFlex/XML may work in three different modes: limited, full or trial.

Limited Mode

The Limited Mode is covered by the Limited Free License. It is activated by default when no other licenses have been found. This mode allows you:

Full Mode

The Full Mode is activated in the presence of a Commercial or Academic License for DocFlex/XML. This mode allows you:

Trial Mode

The Trial Mode is activated in the presence of a Trial License for DocFlex/XML. In this mode, the software will work the same as in the full mode except the following limitations:

Installation

Windows Installation

To install DocFlex/XML on Windows, please follow these steps:
  1. Unzip the downloaded archive.

  2. Edit *.bat files in DocFlex/XML root directory to specify the JAVA_HOME variable according to the location of Java 6, Java 5 or Java 1.4.x installed on your system.

  3. If you want to run those files from a different location, set also the DFH variable to the absolute pathname of the DocFlex/XML installation directory (e.g. set DFH=C:\docflex-xml-1.7.0).

  4. Copy the DocFlex/XML license file 'docflex-xml.license', which you must have received by e-mail, to lib directory. This file should be always near the docflex-xml.jar file!
Now, everything must be ready. You can start designer.bat to launch Template Designer or generator.bat to run the template applications or samples.

Linux Installation

To install DocFlex/XML on Linux, please follow these steps:
  1. Unzip the downloaded archive.

  2. Edit *.sh shell script files contained in linux subdirectory to specify the JAVA_HOME variable according to the location of Java 6, Java 5 or Java 1.4.x installed on your system.

    For each shell script file, edit its "Permission" properties to allow it to be executed by Linux.

  3. Copy the DocFlex/XML license file 'docflex-xml.license', which you must have received by e-mail, to lib directory. This file should be always near the docflex-xml.jar file!
Now, everything must be ready. Just run designer.sh or generator.sh !

Running XMLDoc

To generate XML File documentation in RTF output format, please do the following:
  1. Run generator.bat. You will see the generator dialog.
  2. In "Template" field, select XMLDoc.tpl template.
  3. In "XML File(s)" field, specify one or many XML files that you want to document.

    Each XML file can be specified either by local path name or by URL. In the case of a URL, the generator will try to download such a file directly from the Internet. When multiple XML files are specified, make sure that each pathname or URL is enclosed in double quotes.

  4. In "Output format" field, select RTF format.
  5. Click <Run> button to start generator.

Running XSDDoc

For all details, please see: templates/XSDDoc/README.html | Running XSDDoc

Running Demo Samples

All provided samples are fully described in the documentation. To run a sample, you just need to:
  1. Start template designer (run designer.bat)
  2. Load a sample template
  3. Invoke generator dialog
  4. Choose the appropriate XML file(s)
  5. Click <Run> button
Please note, some of the sample templates can process only corresponding XML files. This table shows which XML files should be used with which template:

Sample XML File Template
Sales Report samples/sales/sales.xml samples/sales/sales.tpl
Alternative to XSLT samples/personal/personal.xml samples/personal/personal.tpl
XML Schema of Human Evolution samples/HumanEvolution/HumanEvolution.xsd Run with both templates/XSDDocFrames.tpl (HTML output) and templates/XSDDoc.tpl (RTF output). This will look fun!

Getting Help

We are always happy to hear any questions, suggestions, comments, etc. about this product.
Please, e-mail us to: support@docflex.com

Check the latest releases and documentation updates at: www.filigris.com.

Change Log

Version 1.7.0

Version 1.6.8

Version 1.6.7

Version 1.6.6

Upgrade with the latest DocFlex core optimized for Java 6

Version 1.6.5

Version 1.6.4

Additions/improvements of the documentation.

Version 1.6.3

Version 1.6.2

Version 1.6

Version 1.5

The major breakthrough!

Version 1.0

Here, the story begins!

The first version DocFlex/XML has been released, which started the third and the most advanced product line based on DocFlex Technology. (The previous two, DocFlex/Javadoc and DocFlex/Together, had been already available for more than a year before that.)

Most of the document formatting capabilities was already in place. All processing of XML files was already based on the data type information obtained from DTD or XML Schemas. However, the actual data sources possible to process at once with a single template were limited to only one XML file.

The "Sales Report" and "Alternative to XSLT" samples are coming from those times.


Copyright© 2008 Filigris Works, Leonid Rudy Softwareprodukte. All rights reserved.
To contact us, please visit www.filigris.com or e-mail to: contact@filigris.com