|
Home > Online Product Documentation > Table of Contents > Defining Structure Rules in a Sample DTD Defining Structure Rules in a Sample DTDThis topic is part of a sequence that starts with Creating a Sample DTD. To specify the rules for the structure of the book element:
1. Click the
book node in the DTD tree if it is not already selected.
2. Click
New Modifier
3. In the drop-down list that appears, scroll down and double-click
Sequence. This indicates that the
book element can include one or more elements.
4. Click
New Reference to Element
5. Type
title in the entry field and press Enter.
Because the reference to the
6. Click the
Sequence modifier.
7. Click
New Modifier
8. Double-click
One or More. (There can be one or more
author elements in each
book element.)
9. Click
New Reference to Element
10. Type
author in the entry field and press Enter.
At this point, the definition of the
However, you have not yet specified that you want the
You can define the bookstore element as follows:
1. Click the
DTD node at the top of the tree.
2. Click
New Element Definition
3. Type
bookstore in the entry field and press Enter.
4. Click
New Modifier
5. In the drop-down list that Stylus Studio displays, double-click
Optional.
6. Click
New Reference to Element
7. Type
book in the entry field and press Enter.
8. Click
Save
|
XML Notepad
XML Notepad simplifies building of XML applications, allowing authors to rapidly build and edit their XML files. With XML Notepad, you can create XML document prototypes quickly, easily, using an intuitive graphical interface.
Validate XML Using XSD
You can validate XML documents against any data model defined using W3C XSD, using any major XSD Validator, including MSXML 3.0, MSXML 4.0, MSXML 6.0, Xerces-J, Xerces-C, Microsoft System.XML (1.0 and 2.0), XSV, the Saxonica XSD Validator and others.
Introduction to Convert to XML
Convert to XML is Stylus Studio's all-purpose utility for getting legacy data integration of all sorts into a custom XML format. This video provides an overview of the tool and walks you through a sample CSV to XML data transformation project.
Why XQuery - The Case for XQuery
Read "The Case for XQuery" - an article that debuted in the November 2005 issue of SOA WebServices Journal, written by Jerry King, Vice President of DataDirect Technologies.