Data source schema

A data source schema is an XML-based file that defines the structure and properties of the data source. Each field or group in the data source corresponds to an element in the schema. The properties of each field and group in the data source define the structure of the corresponding elements and the data that each element can contain in the resulting document.

Rational® Publishing Engine provides the mechanism for creating or obtaining schemas for several data source types such as Rational DOORS®, Rational Tau, and Rational REST data sources. For more information about the standard schema definition, see http://www.w3.org/XML/Schema. You can use a third-party application to create the schema from the XML data.

Schema discovery

The XML Schema Discovery is a tool that you can use to generate a special XML Schema. Using the standard XML Schema, you can access all attributes, and extract the values of specific attributes. This feature is useful if your template often requires values of specific attributes. You can select a schema that closely represents your requirements. You can add the schema to your template. The schema exposes the module, object attributes, and content from the view columns in XML attributes. The XML schema also documents the content that a formal module must have to generate documents from a specific template.
  • Rational DOORS Schema Discovery: A Rational DOORS data source schema can be created for a specific Rational DOORS module.
  • REST Schema Discovery: A REST data source schema can be created for both Reportable REST Services version 1 and 2.
  • For generic XML files, you must provide the schema. Because Rational Publishing Engine uses standard XML schema definition for data source schemas. For more information about the standard schema definition, see http://www.w3.org/XML/Schema. You can use a third-party application to create a schema from the XML data.

Feedback