Viewing Sample XML

You can view a sample of the XML represented by a node in the XML Schema Diagram tab. For example, here is a sample of the XML represented by the purchaseOrder element in purchaseOrder.xsd.

Figure 276. Sample of XML Based on XML Schema

If you want, you can create a new XML document based on this fragment by clicking the Open as New Document button.

Note

 

If the XML Schema contains an element defined using a built-in type, the instance of that element in the XML document is created using the minimum value of the range specified for that type. For example, if the XML Schema contains a <part> element defined as type="xs:integer", the <part> element in the resulting XML document appears as <part>-9223372036854775808</part>.

To view sample XML:
1. In the Diagram tab, select the node for which you want to see sample XML.
2. Select Diagram > View XML Sample from the Stylus Studio menu.

Alternative: Select View XML Sample from the node's shortcut menu (right-click to display).

The View Sample XML dialog box appears. (See Figure 276.)

3. If you want to open this sample as a new XML document in Stylus Studio, click the Open as a New Document button. Otherwise, click Close Preview.

Industrial & Farm Equipment

Industrial & farm equipment manufacturers are mowing away the time it takes for data integration with the power of Stylus Studio 2006! See which top industrial and farm equipment manufacturers are cowboying up with Stylus Studio.

XML Document Wizards

Stylus Studio XML Document Wizards help you easily convert EDI, flat files, and other document formats to industry-standard XML.

Airlines, Aerospace and Defense

Want to know what airlines, aerospace and defense companies are soaring high with Stylus Studio 2006? Well now you can! Come check out these leading companies and soar with Stylus Studio 2006 yourself.

SQL Server Tools

SQL Server Tools in Stylus Studio simplify working with relational and XML data including exporting data from a SQL Server database into XML and importing XML data back into SQL Server. Supports Microsoft SQL Server 2000 and Microsoft SQL Server 2005

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member