Associating an External Schema With a Document

To associate an external schema with an XML document:
1. Open the XML document you want to associate with a schema. See Opening Files in Stylus Studio.
2. From the Stylus Studio menu bar, select XML > Associate XML with Schema.
3. In the Open dialog box that appears, navigate to and select the schema you want to associate.
4. Click Open. The selected schema is now associated with the document.

To associate an XML document with an XML Schema, the XML document must contain a root element.

After you associate a schema with a document, you can view a tree representation of the schema in the XML editor window. Click the Schema tab. See Updating a Document's Schema.

Free Stylus Studio XML Training: