Specifying That an Element Can Contain Data in DTDs

To specify that an element can contain raw data, you must first define the element. See Defining Elements in the DTD Tree Tab.

In the Tree tab, to specify that an element can contain data:
1. Click the element you want to contain data.
2. In the left tool bar, click New Modifier . Stylus Studio displays a drop-down menu.
3. Double-click Zero or More.
4. In the left tool bar, click Add $PCDATA .
 
Free Stylus Studio XML Training: