|
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:
|
Stylus Studio Enables Multi-Channel Publishing for University of Pittsburg Professor
Learn how Dr. David Birnbaum of the University of Pittsburgh uses Stylus Studio to develop customized XSLT stylesheets that produce enhanced versions of source documents in different output formats, including Web and print.
Stylus Studio is a Real Cost-Saver in Novell Implementations
Learn how TriVir, a leading consulting group used Stylus Studio to implement a Novell based solutions using DirXML, eDirectory, and the exteNd suite for their government customers.
EXSLT Tools
EXSLT support in Stylus Studio lets you extend XSLT 1.0 stylesheets and simplify many tasks including computing dates and times, performing mathematical computations, string manipulations and more.
XML Well-Formedness Checker & XML Indenter
Tidy up your XML documents with powerful integrated XML editing utilities including a single-click XML formatter, pretty printer, XML indenter and XML well formedness checker.


