Schema Viewer

The schema viewer shows a tree-view presentation of a schema in its expanded form.

Note: If the schema includes presentation instructions and attributes they are not included in this view. Refer to Understanding UI Hints for more information.

The schema illustrates the structure to be used when communicating with the schema's associated object. The following takes place when a schema is expanded:

  • If the schema definition includes references to other schemas, these references are replaced with the corresponding schema definitions.
  • Also, if the schema definition contains private elements, they are omitted from this view.

Clicking on any node on the tree populates the text box on the top with the node's absolute XPath expression. You will find this feature very useful when writing scripts interacting with schema-based objects. Scripting often involves referencing elements in a schema-based XML document using their absolute XPath expression. You can use this feature on the schema viewer to obtain the XPath expression for an element and copy it over to your script.