|
Home > Online Product Documentation > Table of Contents > Defining Groups of Elements in XML Schemas - Tree View Defining Groups of Elements in XML Schemas - Tree ViewTo define a group of elements:
1. Define the elements that you want to be in the group. See
Defining Elements and Attributes in XML Schemas.
2. Click the
Schema node.
3. In the left tool bar, click
New Group
4. Type a name for the group of elements and press Enter.
5. In the left tool bar, click
New Model Group
6. Double-click a modifier that applies to at least one element that will be in the group.
7. In the
Properties window, double-click the fields for the
Min Occur. and
Max Occur. properties to specify their values. These properties determine how often the subgroup of the elements with the selected modifier can appear.
8. For each element that you want to apply the selected modifier to, perform these steps:
a. Click
New Reference to Element
b. Double-click the element you want to add to the group.
c. Click the modifier to add another element reference.
9. To add more elements to the group and specify a different modifier for them, click the name of the group in the
Tree view, and repeat
step 5 through
step 8.
In any location where you can add a model group, you can also add a reference to a model group definition. |
DTD Parser
Learn about the powerful DTD parser technologies that are supported in Stylus Studio's DTD tools, including DOM and SAX based DTD parsing components.
EDI to XML
Using the DataDirect XML Converters EDI repository, the EDI to XML Conversion module is able to support dozens of EDI standard dialects and message types like EDIFACT, HL7, and X12.
Learn XQuery Visually
Stylus Studio offers three infomative XQuery demonstration videos illustrating Stylus Studio's XQuery Editor, Mapper, Debugger and other advanced functionality. Watch them today!
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.


