Adding a predefined data source schema
You can add your own predefined data source schema to the
Add Data Source schema wizard so that you can quickly add your own
data source.
The Add Data Source Schema wizard has a
drop-down list where you can pick one of many predefined data sources.
To add your own predefined data source to this list, edit the RPEPredefinedDataSources.xml file
in the RPE_HOME directory, for example:
: C:\Program
Files (x86)\IBM\Rational\Publishing Engine
: /opt/IBM/Rational/PublishingEngine
Each predefined data source must contain the following
elements:
| Element | Value |
|---|---|
| name | The name of the data source. This element cannot be empty. |
| description | Description of the data source. |
| location | The path of the schema. You can use system variables in the value, for example: ${SYSTEM_VARIABLE} |
| type | The type must be one of the following values
|
See the following example of an entry in
the predefined data source schema list:
<predefinedDataSources>
<predefinedDataSource>
<name>DS</name>
<description> A Generic XML data source</description>
<location><file path or URL></location>
<type>Generic XML</type>
</predefinedDataSource>
<predefinedDataSources>