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.

XPath Editor

Stylus Studio's intelligent code-sensing, auto-completion technology, Sense:X, is XPath-aware. You'll find Sense:X for XPath in all of Stylus Studio's editors, including the XML Editor, XSLT Editor, and XQuery Editor.

ZapThink Report: Using Stylus Studio to Deploy XML Data Services

A Zapthink analyst discusses how to create the next generation of XML data services using Stylus Studio XML tools - Download the special report today for free.

Improving XSLT and XQuery Performance with Stylus Studio

This online video demonstration covers XQuery and XSLT performance tuning using the Stylus Studio XSLT profiler and the XQuery profiler.

HTML to XML Importer

Convert HTML to XML with the Stylus Studio HTML to XML Importer, a powerful, visual utility for Converting HTML to XML with ease.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member