Reloading a Schema
Use
If you change a schema, you need to import the new schema and reload the XSD elements in the DC.
Procedure
Importing a Schema
More information: Importing a Schema
Reloading XSD Elements
-
In the Project Explorer view, expand the rules composer DC node, the Rules Modeling node and double-click the Project Resources node.
-
In the Project Resources editor that appears, choose the Aliases tab.
-
In the Aliases editor, choose the Reload button and in the menu that appears, choose XSD Element .
-
In the Reload XSD Element dialog box that appears, expand the namespace node and choose the root element.
-
Select any one of the following radio buttons:
-
Remove existing aliases and recreate default XPath aliases
-
Validate the existing aliases and remove the invalid aliases
-
-
Choose Click here to set alias generation preferences . (Optional)
-
In the screen that appears, you can select the checkbox in the Alias Generation section if you want to use namespace prefixes for aliases. (Optional)
-
You can also select the desired checkboxes in the Edit visibility setting for advanced aliases section. (Optional)
-
You can enter the limit in the XPath Recursion Limit field. (Optional)
-
Choose OK .
-
In the Reload XSD Element dialog box, choose Finish .
-
If you make changes to an XML schema and save the changes, do the following in the dialog box that appears:
-
Double-click a relevant node to view the schema. You should see two sections such as Old Schema Document and New Schema Document highlighting the changes you made to the schema
-
Choose Accept
-
When you reload the XSD elements, the changes get updated automatically
-
-
If you delete a schema file, you can still view the XSD elements in the Aliases editor. You should see a dialog box with the message that the XML schema has been removed