|
Home >Online Product Documentation >Table of Contents >Using Schemas with XML Documents Using Schemas with XML DocumentsStylus 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:
l 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.
l To define an internal DTD, specify it in the XML editor Text tab or Schema tab.
l 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: |