XSD Viewer

Use the XSD Viewer to view the structure defined by an XML schema as a tree, which provides a graphical representation of the element content models and element attributes.

You can open a schema ( .xsd) file in the XML Editor by right-clicking the file and selecting Open With > XSD Viewer. At the top level, the folder icon labeled Schema contains nodes for each element defined in the schema. You can expand each element node view the element's content model (element inclusions) and attributes. Depending on the preference settings, the viewer can also display element facets.

The XSD Viewer adds a Schema item to the main menu bar with the additional operations described in the following table.

Table 1. Schema menu operations
Menu item Description
Generate Instance Document Active when an XML schema is open in the editor with no unsaved changes. Generates a sample document instance that contains the elements and attributes defined in the schema.
Extract XML Schema Subset Active when an XML schema is open in the editor with no unsaved changes. Prunes the schema to include only the element and attribute definitions that are required to define a specified root element.
Related concepts
XML Editor
UDDI Registries
Visual SQL
Query Editor

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.