xml spy
Previous  Top  Next
Symbols and icons

XSLT Designer uses easily recognizable symbols to display the various schema elements in the tree view, and uses tag symbols for the XSLT elements in the Design view.

ic_overview2  

Tree view symbols and icons

ic_schema_path
Schema name and folder

ic_doc_root
Document root.
All elements inserted from below the Document root (but not under the Global Templates) into the Design view, become local elements. Any formatting applied to them in the Design view, only takes effect in this document instance. The Design view tab contains the text Design [Document].

Global templates are defined using the elements under the Global Templates element.

ic_element2
Element

ic_attribute2
Attribute.

ic_el_child
Element with child/sub elements.

ic_glob_elem
Global templates, these are equivalent to global elements in a schema.

Use Global Templates as text modifiers for the moment e.g. bold, italic or paragraph.

Formatting Global Elements:
1.Click the global template you want to apply formatting to (italic. in this case).  
The Design view now displays the italic. template. The tab also contains the name of the global template Design [italic].  

glob_elem_overview  

2.Define the attributes the global element is to have using the HTML properties window (font-style = italic).  
Wherever this element appears (or is applied to) text in Designer view, it will appear in italic.  
3.(Clicking the italic icon in the title bar in Document Editor inserts this element and changes the text to italic.)  

Design view symbols and icons

ic_root_elem
Root element tags.

The (contents) "text" between the two tags in the Design view, is the symbol for an XML data placeholder. The placeholder is filled with data when you switch to the IE Preview tab. The data is supplied by the XML file assigned to the currently visible schema visible in the tree view. Use the menu option File | Assign working XML file... to assign the XML file to the schema.

To delete a placeholder:

1.Click the placeholder and press the keyboard Del. key.  
 
This deletes the placeholder in the Design tab, and causes the XML data to be suppressed in the IE Preview.  
 
To (re) insert a placeholder:
1.Click between the two tags where you want to insert the placeholder.  
2.Click right (at the cursor position) to open the context menu, and select "Insert Contents".  
 
The placeholder is inserted at the cursor position.  


ic_start_end_tags
Start and end tags of the Person element, expanded. The parent tags of the Person element (Altova) are also included.

ic_collapsed_tags
Person element tag, contracted. To expand or contract tags, double click the specific tag.

ic_tag_attribute
Manager attribute, start and end tag.

ic_contents
"Contents", placeholder for XML data.

ic_tbl_design_tab
Person element inserted as a table containing both elements and attributes.

input_field
Email element "input field". Clicking right on the vertical border at the right allows you to directly change the size of this field by dragging with the mouse.

Formatting tables:
XSLT Designer allows you to directly format tables (as well as the input field) using the mouse.

·Place the cursor over any table or cell border and drag when the mouse pointer changes to the double headed arrow.  

tbl_drag_popup  

The moment you click and drag, the cell or table dimensions appear in a popup allowing you to precisely define its size.  
 
You can also use the same method on table borders that have been hidden, by clicking the View table cell bounds icon, ic_tbl_cell_bounds and dragging on the dashed border lines that then become visible.  

Marking and applying formatting in tables:
XSLT Designer offers you many ways to format your table data.
·You can apply formatting (bold etc.) to parts of a table eg. only some of the column headers, some cells etc., by just marking them and applying bold or any other HTML formatting for example.  
·Using drag left allows you to mark multiple cells and apply formatting.  
·Clicking an element tag marks the whole element, to which you can then apply the specific formatting. In the diagram above, clicking the <Altova><Person> element would mark the whole table.  


Previous  Top  Next

⌐ 2002 Altova