Home >Online Product Documentation >Table of Contents >XML Editor Grid Tab
XML Editor Grid Tab
|
|
The XML editor Grid tab is available only in Stylus Studio XML Enterprise Suite and Stylus Studio XML Professional Suite.
|
The Grid tab of the XML Editor is a useful way to view and work with an XML document that contains structured data - multiple instances of the same type of element.
The Grid tab consists of a tool bar and a display area. The tool bar has buttons to perform actions and operations on both the grid itself and on the underlying XML document represented in the grid. An example of the former is the ability to show the child elements of the document's root element; they are hidden by default. An example of the latter is the ability to add a new instance of an element or to change a value. These operations are also accessible from the XML > Grid Editing menu, as well as from the grid shortcut menu (right-click on the grid).
The tool bar also includes a button (
) that displays the XPath Query Editor window, which allows you to enter an XPath expression to query the XML document. Results are displayed in the Query Output window, which appears when you run the query if it is not already displayed. See Querying XML Documents Using XPath for more information on this feature.
The display area shows the XML document, both its structure and content, rendered in a tabular, or grid format.
Buttons
Insert Row Before - Inserts a new row before the current row.
Insert Row After - Inserts a new row after the current row.
Delete Row - Deletes the current row.
Move Up - Moves the current row or table up in the diagram.
Move Down - Moves the current row or table down in the diagram.
Add Nested Table - Adds a nested table under the current row.
Add Attribute Column - Adds an attribute column to the current row.
Add Element Column - Adds an element column to the current row.
Rename Column - Allows you to rename the current column.
Delete Column - Deletes the current column.
Sort Ascending- Sorts the current column in ascending order.
Sort Descending - Sorts the current column in descending order.
Simplified View - Toggles the display of container nodes (nodes that have no content of their own, such as the authors
element in books.xml
).
Toggle Row Tag Name - Toggles the display of the row's tag name to preserve space and simplify the display.
Use URIs to Compare Namespaces - Whether or not you want Stylus Studio to use URIs to compare namespaces.
For More Information
Using the Grid Tab