Defining Elements in the DTD Tree Tab

In the DTD editor, if the Tree view is not visible, click the Tree tab at the bottom of the window.

To create an element in the Tree tab:
1. Click the DTD node at the top of the tree.
2. In the tool bar on the left, click New Element Definition . Stylus Studio displays a field for the new element at the end of the current contents of the DTD.
3. Type the name of the new element and press Enter. Stylus Studio displays the properties for the new element in the Properties window. If the Properties window is not visible, select View > Properties from the Stylus Studio menu bar. For example, suppose you specified title as the name of the new element. Your new element has the following properties:

Property
Value
Type
Element
Name
title
Content Model
Empty
Table 60. Element Properties

4. To change the value of a property, double-click the current value. For information about the properties that each element can have, see About Node Properties in DTDs.

After you create an element, you must define the structure of the contents of the element. The rest of the topics in this section provide information on how to define structure.

Validating EDIFACT Documents with XML Schemas

Either before or after transforming EDIFACT content, generated XML Schemas will make sure that we have all of the necessary components, our codes are all according to the standard codelists, and every little delimiter is in the right place.

Convert DTD to XML

Learn how to create a sample XML instance document from a DTD using Stylus Studio DTD to XML conversion tools.

XQuery Functions - User Defined Functions in XQuery

Dr. Michael Kay's tutorial entitled: 'Defining your own Functions in XQuery' explains how to write powerful User Defined Functions in XQuery.

Web Service Data Mapping

Stylus Studio makes it possible for you to use Web services as live XML data sources for XML mapping projects.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member