|
Home > Online Product Documentation > Table of Contents > Defining Data Elements in a Sample DTD Defining Data Elements in a Sample DTDThis topic is part of a sequence that starts with Creating a Sample DTD.
In your DTD, suppose you want a
To accomplish this, perform the following steps:
1. At the bottom of the DTD editor, click the
Tree tab.
2. Click the
DTD node at the top of the tree if it is not already selected.
3. Click
New Element Definition
Stylus Studio displays an entry field for the element name.
4. Type
title and press Enter.
Stylus Studio displays the new element,
5. Click
New Modifier
Stylus Studio displays an entry field for the element's modifier.
6. Double-click
Zero or More.
The new modifier is added to the element.
7. Click
Add #PCDATA
8. To define the
author element, repeat
step 2 through
step 7. In
step 4, type
author instead of
title.
When you are done, the Stylus Studio desktop should resemble the following:
|
Switch to Stylus Studio: Customer Testimonials
Read in their own words, why customers have decided to make the switch to Stylus Studio, the World's best XML editor.
XML Helps Uncork Innovative Winery Web Sites
Learn how Freerun Technologies, Inc., a leading Internet services provider used Stylus Studio and XML technologies to develop a framework for Web-based eCommerce applications for the wine industry, reducing development cycles.
XQuery Documentation Generator
Stylus Studio provides integrated support for xqDoc so you can generate XQuery documentation directly from the XQuery editor.
XML-to-XML Mapper
XML to XML mapping tools in Stylus Studio provide a powerful visual interface for mapping XML data from-and-to virtually any data format using industry-standard XSLT and XQuery technologies.