Description of Element Modifiers in DTDs

Table 59 describes the available modifiers:

Modifier
Description
Indicator in DTD
Optional
This element can appear once or not at all. (0 or 1)
Question mark ( ?)
Zero or more
This element is optional and repeatable. (0, 1, or more)
Asterisk ( *)
One or more
This element is required and repeatable. (1 or more)
Plus sign ( +)
Choice
Exactly one of the specified subelements must appear.
Vertical bar ( |)
Sequence
If no other modifiers are defined on the Sequence modifier, each subelement in this element must appear exactly once. In other words, it is required. Also, the subelements must appear in the order in which they are specified in the referencing element. You can define other modifiers on the Sequence modifier. In this way, you can specify that some subelements are optional, some appear zero or more times, and some appear one or more times.
Comma ( ,)
Table 59. Element Modifiers

XPath Generator

Stylus Studio includes an XPath generator that helps you easily create XPath expressions. This page illustrates how you can accomplish this.

Television

Television

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.

XML Syntax Help - Intelligent XML Editing

Stylus Studio's XML Editors feature Intelligent XML Schema/DTD-Aware Code Sensing and context sensitive XML code auto-completion. Simplify XML editing with Stylus Studio today.

Stylus Most Wanted

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.