xml spy
Previous  Top  Next

Authentic View main window


There are four viewing modes in Authentic View: Large Markup; Small Markup; Mixed Markup; and Hide All Markup. These modes enable you to view the document with varying levels of markup information. In Authentic Preview of StyleVision only two markup modes are available: Hide Markup and Show Large (Full) Markup.

 

To switch between modes, use the commands in the Authentic menu or the icons in the toolbar (see the previous section, Authentic View toolbar icons).

 

Large markup

This shows the start and end tags of elements and attributes with the element/attribute names in the tags:

 

tag_elm_large_exp

 

The element Name in the figure above is expanded, i.e. the start and end tags, as well as the content of the element, are shown. An element/attribute can be contracted by double-clicking either its start or end tag:

 

tag_elm_large_contract

 

To expand the contracted element/attribute, double-click the contracted tag.

 

In large markup, attributes are recognized by the symbol @ in the start and end tags of the attribute:

 

tag_attrib_exp

Hide all markup

All XML markup is hidden. Since the formatting seen in Authentic View is the formatting of the printed document, this viewing mode is a WYSIWYG view of the document.

 

Content display

In Authentic View, content is displayed in two ways:

 

Plain text. You type in the text, and this text becomes the content of the element or the value of the attribute.

 

tag_elm_large_exp

 

Data-entry devices. The display contains either an input field (text box), a multiline input field, combo box, check box, or radio button. In the case of input fields and multiline input fields, the text you enter in the field becomes the XML content of the element or the value of the attribute.

 

tag_plus_txt_box

 

In the case of the other data-entry devices, your selection produces a corresponding XML value, which is specified in the StyleVision Power Stylesheet. Thus the selection "approved" in the display example below could map to an XML value of "1", or to "approved", or anything else; while "not approved" in the display could map to "0", or "not approved", or anything else.

 

tag_attrib_exp

 

Optional nodes

When an element or attribute is optional (according to the referenced schema), a prompt of type "add [element/attribute]" is displayed:

 

prompt_optional_elm

 

Clicking the prompt adds the element, and places the cursor for data entry. If there are multiple optional nodes, the prompt "add..." is displayed. Clicking the prompt displays a menu of the optional nodes.

 


Previous  Top  Next

© 2008 Altova