Use the Schema Library dialog box to establish a namespace for any XML Schema (.xsd file) that you want to attach to a document. When you attach an XML Schema to a document, the Schema defines a data structure for the document. The resulting document works like a database for storing data in a structured way.

Any XML Schema that you add to the Schema Library can be attached to a document, and you can attach more than one Schema to a document in Word.

For more information about attaching XML Schemas to Word documents, download the Word 2003 XML Software Development Kit from the MSDN Web site.

About Schemas and namespaces

Because the Schema Library establishes a namespace for each XML Schema that is listed in it, each element in each Schema has a unique identifier. If more than one Schema uses matching element names, the names do not conflict because each element can be specified by its namespace.

You can also use a namespace to associate auxiliary files and software solutions with a document. A solution is a file or a collection of files that works with a particular Schema. For example, Extensible Stylesheet Language Transformation (XSLT) files, or transforms, are solutions commonly used with XML Schemas.

About the Schema Library

Schemas in the Schema Library are available to attach to a document. The Schemas are listed on the XML Schema tab of the Templates and Add-ins dialog box in Word.

When you attach an XML Schema to a document, the document becomes associated with the Schema namespace and with any auxiliary files that are also associated with the same namespace.

showSchemas

Add Schema Click to add an XML Schema to the library.

Select a schema Click an XML Schema in the list to do any of the following:

URI and Path The Uniform Resource Identifier (URI) and the physical path to the Schema file that you select in the list are displayed here. To change this information, click Schema Settings.

showSolutions for schema

Use solution with Click Word.

Add Solution Click to add a software solution for the XML Schema that you selected in the list above.

Select a solution Click a solution in the list to do any of the following:

Default solution Click the solution that you want Word to use automatically when the selected Schema is attached to a document in Word. For example, if you specify a particular XSLT file as the default solution for an XML Schema, and then you attach that Schema to a document, Word automatically uses the transform that you specified to display the document.

Path and Type The physical path and a description, such as XSL Transformation, for the solution that you select in the list are displayed here. To change this information, click Solution Settings.