Migrating schemas
Copying a schema for the purpose of creating a new, slightly different schema is easy. In the Schema Editor, click on the Action icon next to the schema you wish to copy and select Create new Schema based on this.
Moving schemas from one transformation server to another, however, requires saving them as XML files. This technique is also useful when you need to email a schema to another location. Follow these steps to save a schema as an XML file and reconstruct it from an XML file:
| |
|
|
|
Step
|
|
1
|
Open the Hyper.Net Administration console and click on Schema Editor. The list of schemas currently installed on the Hyper.Net Transformation Server appears.
|
|
2
|
Click on the icon in the Action column next to the schema you wish to export as an XML file.
|
|
3
|
Select Modify this Schema from the Menu window that appears.
|
|
4
|
Navigate to Schema - Schema Information in the navigation menu on the left. The following screen will appear:
|
|
5
|
Click on View XML Source at the bottom of the schema editor window. A window displaying the Schema XML source for the schema will appear.
|
|
6
|
Using your mouse, select the contents of the area displaying the schema XML and copy the contents to the clipboard.
|
|
7
|
Paste the copied XML into a new text document and save it with a meaningful name, for example myschema.xml. You can copy or email the XML-based schema to another computer.
|
To import a schema that has been exported as XML, follow these steps:
| |
|
|
|
Step
|
|
1
|
Click on Schema Editor in the Hyper.Net Administration console.
|
| |
|
|
2
|
Select Create new Schema from XML as shown below:
|
|
3
|
In the dialog box that appears, browse and select the XML schema file you wish to import, specify a name for the new schema and click on Create Schema.
|