|
Home > Online Product Documentation > Table of Contents > Defining Groups of Elements in XML Schemas - Diagram View Defining Groups of Elements in XML Schemas - Diagram 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. Right-click the
schema node
3. In the shortcut menu, select
Add >
Group.
Alternatives: This operation is also available from the
XMLSchema >
Diagram >
Add > Group menu and from the
Add button
The new group is added to the XML Schema. It is displayed in the diagram and in the text pane (if you have it open). The properties for the new group are displayed in the Properties window.
4. Specify the group name in the
Name property in the
Properties window.
5. Right-click the new group.
6. In the shortcut menu, select
Add > and then select the modifier for the group of elements -
All,
Choice, or
Sequence. In the
Properties window, click the fields for the
Min Occur. and
Max Occur. properties to specify their values. These properties determine how often the group of the elements with the selected modifier can appear.
7. Drag the elements defined in
step 1 and drop them on the
all,
choice, or
sequence modifier created in
step 6.
AlternativeIf you prefer, you can create the element group first, define the modifier for the group elements, and then add new elements to the group by right-clicking on the modifier and selecting Add > Element. If you do this, you must then define each of the elements you added to the group. |
Automotive Companies That Use Stylus Studio
Top automotive companies get their wheels spinning with Stylus Studio 2006. Come see which companies put Stylus Studio in their drivers seat today!
XML-DEV Blog
Join the XML Development discussion at XML-Dev - the hottest place to talk about XML technologies, trends, systems architecture and all the latest buzz. Bookmark this RSS and ATOM feed now!
MSXML - Microsoft XML Tools
MSXML tools in Stylus Studio feature integrated XML validation, XSLT transformation and XSLT debugging using the Microsoft's COM-based XML processing components: MSXML 3.0, MSXML 4.0 and MSXML 6.0
XML Operations
Using XML Pipeline it's easy to visually specify a series of XML operations to apply on your XML data, including parsing, validating, converting and transforming, according to the needs of your business application.


