Home >Online Product Documentation >Table of Contents >Using Schemas with XML Documents
Using Schemas with XML Documents
Stylus Studio allows you to associate one or more schemas with each XML document. A schema can be a DTD or an XML Schema.
There are several ways to associate a schema with an XML document:
- To associate an external schema with a document, ensure that an XML document is active. Then, from the Stylus Studio menu bar, select XML>Associate XML with Schema.
- To define an internal DTD, specify it in the XML editor Text tab or Schema tab.
- To have Stylus Studio generate a schema, in the XML editor, click the Schema tab. If the XML document has some contents, Stylus Studio prompts you to indicate whether you want Stylus Studio to generate a schema from the contents. See Having Stylus Studio Generate a Schema.
This section discusses the following topics: