xml spy
Previous  Top  Next
Element Entry-Helper

The element entry helper, allows you to insert a new element into your document by showing what elements are permissible at the current location.

ref_p115a  

You can choose to append an element, insert it before the selected element or add a child-element to the currently selected element. Depending on this context, the entry helper will automatically adjust its list of available choices.

Mandatory elements are automatically highlighted by an exclamation mark "!"

Elements that are allowed within the current parent element, but not at the position of the current selection, are shown in gray.

To insert an element:
·Double-click on the desired item.  
The corresponding element is inserted into the XML document, and the entry helper is automatically updated to reflect your new options.  

Should you create a sequence of elements that violate the content model specified by your schema or DTD, the built-in incremental validating parser automatically detects this violation and displays its error message directly in the entry helper window.

ref_p116a  

In the Schema Design View, this window is called the Component Navigator, and displays information on Global Components: elements, groups, complex types, simple types, attributes and attribute groups.

To display the content model of a component:
·Click the component type tab (Elm, Grp. etc.), and  
·Double click on the desired component, in the respective tab.  

The content model appears in the main window as a graphic.

ref_p116b  


Previous  Top  Next

© 2002 Altova