The Rational® Tau schema
is automatically generated using the predefined schema built from
the Rational Tau metamodel.
Before you begin
To build Rational Tau documents,
you must be familiar with the metamodel structure and its relationship
to the model that is displayed in Rational Tau model
browser.
About this task
A pre-generated Rational Tau schema is shipped with Rational Publishing Engine in %RPE_HOME%\source\Tau\schema.
You might regenerate the XML Schema in following instances:
- To use a new version of Rational Tau, later than 4.3
- To use a version of Rational Tau, with a modified meta model
- To adapt the schema in order to extend or customize it
- To provide better support for profiles
- To add schema elements that refer to your Rational Tau queries
- To speed up extraction by enhancing the used Rational Tau queries
- To make changes to the Rational Tau Schema, you must adapt the
script, that generates the schema
The script GenerateSchema.tcl is provided in the
Rational Publishing Engine install
directory under
source\Tau\schema.
Procedure
- Start Rational Tau with an UML project.
- Click File > Open and
load the script file.
- In the model browser, select the Model class
from Library > TTDMetamodel in
the model browser.
- In the Tools menu, invoke the Execute
script and run GenerateSchema.tcl. The script displays
a dialog to query the filename for the new XML Schema.