Automated DITA Specialization Generation from XML Schemas

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing process of documenting complex software systems using XML configuration files is inefficient, requiring significant manual effort to create XSL transforms for each schema, leading to high documentation costs and lower consistency.

Innovation Solution

An apparatus and method for generating schema-specific DITA specializations from XML schemas, which includes generating an XSL transform to produce a DITA file that follows the rules of the specialization, allowing for automated or dynamic documentation with minimal human intervention.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If manual XSL transforms are created for each XML schema, then documentation accuracy and schema-specific customization are improved, but documentation time and effort increase significantly

Engineering Contradiction:
Improvedocumentation accuracyVSAvoiddocumentation time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The system enables self-service automation by having the documentation generator automatically create schema-specific DITA specializations and XSL transforms without requiring manual intervention for each schema. The generator reads XML schemas, generates corresponding DITA specializations, and creates transformation rules automatically, allowing the system to serve itself in the documentation creation process.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system changes parameters by transforming generic documentation templates into schema-specific specializations through parameter substitution. The DITA specialization generator takes generic DITA templates and automatically adjusts them based on the specific XML schema parameters (element names, data types, constraints), producing customized documentation structures without manual reconfiguration.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If generic documentation templates are used for all XML schemas, then documentation speed is improved, but schema-specific customization and accuracy are lost

Engineering Contradiction:
Improvedocumentation speedVSAvoidschema-specific customization
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The system segments documentation generation into two independent components: generic DITA templates and schema-specific specializations. This segmentation allows the generic templates to provide the base structure for fast documentation generation, while the generated specializations add schema-specific customization. The separation enables both speed and adaptability to coexist by combining template-based generation with automated specialization creation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system introduces dynamics by making the documentation structure adaptive rather than static. Instead of using fixed generic templates for all schemas, the system dynamically generates DITA specializations that adapt to each specific XML schema's characteristics. The specialization generation process dynamically creates customized documentation structures based on the input schema's elements, types, and constraints.

Inventive Principle:
Principle #15Dynamics

3Loss of time

If automated documentation generation is implemented, then documentation time and cost are reduced, but the complexity of the transformation process increases

Engineering Contradiction:
Improvedocumentation timeVSAvoidtransformation process complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The system introduces an intermediary component - the DITA specialization generator - that acts as a mediator between the XML schema and the final documentation. This intermediary automatically generates the complex transformation rules and specializations, shielding users from the underlying complexity. The generator handles the complex tasks of reading schemas, creating DITA specializations, and producing XSL transforms, while users only need to provide the XML schema as input.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10460020B2Generating schema-specific DITA specializations during generic schema transformations
Publication Date: 2019.10.29 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10460020B2 patent drawing
  • US10460020B2 patent drawing
  • US10460020B2 patent drawing

AI summary

A method and apparatus produces documentation from customized extensible mark-up language (XML) by generating a schema-specific Darwin Information Typing Architecture (DITA) specialization. The DITA specialization is generated from XML schemas which define the XML documents. During the process of generating the DITA specialization, a XSL transform is also generated. The XSL transform is applied to the XML file to produce a DITA file that follows the rules of the DITA specialization. Prior art transforms can then be used to convert the DITA file and the DITA specialization to standard documentation. Generating schema-specific DITA specializations may be an automatic process or a dynamic process under the direction of a user.