Attaching an XML Model to an XSD Document

Attaching an XML model to an XSD document allows you to easily model its data schema in a graphical environment. The XML model schema code is displayed in the Schema tab of the XSD document.

You can attach an XML model to an XSD document in any of the following ways:

  • Import or reverse a WSDL file, if you have selected the Create XML Model option. The XSD document created during the import is automatically linked to the XML model. It displays in the Schema model list of the XSD Document property sheet.

  • Create a new XSD document in a service provider property sheet, and attach an XML model to the XSD document.

  1. Open an XSD document property sheet.
  2. Select an XML model among the XML models open in the workspace in the Schema model list.

    or

    Click the New tool next to the Schema model list. The property sheet of a new XML model displays. Type a name and a code for the new XML model and click OK.

    The name of the XML model displays in the Schema model list. The new XML model is also open in the workspace.

  3. [optional] Start modeling the data schema in the XML model.