How Grid Changes Affect the XML Document

When you make a change to the document structure or content on the Grid tab, those changes are reflected immediately in the underlying XML document. You can see your changes affect the document on the Text tab.

Consider the following excerpt from books.xml.

<authors>
               
	<author>David A. Chappel</author>
               
	<author>Tyler Jewell</author>
               
</authors>
               

            

If you move the rows in the authors table, for example, as shown in Figure 133,

Figure 133. Moving a Row Affects XML

the underlying XML changes accordingly:

<authors>
               
	<author>Tyler Jewell</author>
               
	<author>David A. Chappel</author>
               
</authors>
               

            

Types of Changes that Affect the Document

The following changes, all of which can be made using Grid tab, affect the underlying XML document:

  • Adding, deleting, reordering rows
  • Adding, deleting, reordering, and renaming columns
  • Adding, deleting, reordering, and sorting tables
  • Changing element and attribute values
  • Renaming container elements

Changes you make affect the current instance only. For example, in the example shown in Figure 133, only that instance of the nested table is affected. If you add a column to books/book, however, every instance of books/book gets that new column.

XML Editor

Stylus Studio XML editor includes many XML editing utilities and features to simplify XML development, including intuitive XML editing views, integrated XML validation and troubleshooting utilities, XML formatting tools, XML generation tools, etc.

Using DataDirect XML Converters

Learn how to use DataDirect XML Converters and the Stylus Studio Java Code Generator to deploy the XQuery applications you build in Stylus Studio to a live server environment.

Building DataDirect XML Converter Applications with Stylus Studio

DataDirect XML Converters are Java and .NET components that enable access to any data (flat files, EDI) from your application code. Learn how to deploy XML applications today.

Stylus Studio User Guides (PDF Download)

Download Stylus Studio User Guides in printer-friendly PDF format, including documentation of past (older) versions of Stylus Studio.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member