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. By designing templates with the data source schema, the whole data model does not have to be loaded every time a document-style report generation is run. So the data source schema displays the structure of the data model without displaying the entire data model itself. The document-style report generation must make requests to the product only for the data that is required for the report.
IBM Engineering Lifecycle Optimization - Publishing (PUB) provides the mechanism for creating or obtaining schemas for several data source types such as IBM Engineering Requirements Management DOORS®, and IBM Engineering Lifecycle Management 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 discoveryThe 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 document-style reports from a specific template.
- Engineering Requirements Management DOORS Schema Discovery: A DOORS data source schema can be created for a specific 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 Engineering Publishing 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.