From within SchemaAgent Client, you can recreate the ghost schema as a rudimentary schema at the location specified in the reference. A rudimentary schema is one that contains only the xs:schema declaration. A ghost XML instance is recreated as a rudimentary XML file containing only an empty <root /> element. However, you still have to add appropriate content to the recreated rudimentary file.
Note that if the folder specified at the location defined in the reference statement does not exist or is not within the search path, then the Recreate command is not available. This ensures that the reference path correctly points to the specified schema or XML file, respectively.
To recreate a schema:
1.In the Explorer window or in a Design window, select a ghost schema and do one of the following:
•Select the menu command Edit | Recreate.
•Right-click and select Recreate from the context menu.
A rudimentary schema of the same name is created at the location specified for it in the IIR statement.
2.Open the rudimentary schema in XMLSpy and add appropriate content.
To recreate an XML file:
1.In the Explorer window, right-click a ghost XML file and select Recreate from the context menu. A rudimentary XML file of the same name is created at the location specified for it in the reference.
2.Open the rudimentary XML file in XMLSpy and add appropriate content.