|
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:
|
ADO to XML
The Stylus Studio ADO to XML data coversion wizard simplifies extracting of relational data into any XML format.
Create XML Views of Relational Data Using DataDirect XQuery
DataDirect XQuery simplifies creating, querying and updating of relational databases as XML including Microsoft SQL Server, Oracle, IBM DB2, Sybase and Informix.
Translating X12 Documents to XML
The X12 to XML Converter is a built-in function of the adapter library. The XML that is generated is well commented and indented, and can be used anywhere XML is normally used — with XML Schemas, XSLT, XQuery, etc.
Translating XML documents to X12
In-place, via XSLT and via XQuery are all mechanisms supported for converting XML to X12