Having Stylus Studio Generate a Schema

In the XML editor, you can click the Schema tab to view the schema for your document. If your document does not specify a schema, Stylus Studio displays the Schema Not Found dialog box. This dialog box prompts you to indicate whether you want Stylus Studio to create a schema for your document based on its contents.

You can select Generate XML Schema or Generate DTD. If you select Generate XML Schema, you must specify an absolute path for the file that contains the new schema.

If you select Generate DTD, you must indicate whether you want the DTD to be internal or external. If it is internal, Stylus Studio inserts it immediately after the XML declaration. If it is external, you must specify or select an absolute path for the file that contains the new DTD.

After you click OK, Stylus Studio displays the new schema in the Schema tab.

 
Free Stylus Studio XML Training: