Chapter 2 Building an XML model
With a redefine, you can use schema components from any schema with the same target namespace as the current schema or with no specified target namespace.
In a schema, a redefine is declared with the <redefine> tag.
For example:
Defining redefine properties
To display a redefine property sheet,
Browser tree view.
Redefine general | The General page of a redefine property sheet displays the following | ||
properties | properties: |
|
|
| Property |
| Description |
|
| ||
|
|
|
|
| Schema location |
| URI reference for the location of a schema file with the same |
|
|
| target namespace or no specified target namespace. You can |
|
|
| use the Browse tool beside the Properties tool to select a |
|
|
| schema file among those opened in the current workspace. |
|
|
| For example: customers.xsd |
| ID |
| ID of the redefine. Its value must be of type ID and unique |
|
|
| within the schema containing the redefine |
| Comment |
| Descriptive label of the redefine |
| Stereotype |
| |
|
|
| without changing its structure. It can be predefined or user- |
|
|
| defined |
|
|
|
|
XSM User's Guide | 129 |