Liquid XML Studio
Group Reference
Send Feedback
XSD Editor > Graphical Notation Overview > Group Reference

Glossary Item Box

Graphical Representation

A reference to an existing Group

Summary

The <group> allows you to create groups of elements that can be used as components inside other schema elements.
The group element must contain is a all/choice/sequence.
Before you can reference a group, you must define a one at root level (i.e. as a parent of the <xs:schema>), but once defined it can be referred to within any <all>, <choice> or <sequence>.

Creating

A reference to a <group> can be created by right clicking on an <all>, <choice> or <sequence> item and selecting Add Child -> Group You must then set the type to reference the root level group you have already defined (properties type) or via the drop down in the group box.

Group Reference Properties

Id - A user defined ID to uniquely identify the entity within the schema
Type - The name the group that is being referenced. Must correspond to a globally defined group.
Min Occurs - the minimum number of times the elements described in the <sequence> must appear in the XML Document (default 1).
Max Occurs - The maximum number of times the elements described in the <sequence> can appear in the XML Document (default 1).

Sample Group Reference

The following XSD code

<xs:group ref="ProductInformation" />

Will be represented like this

ShowInline Properties

Properties that apply to a type are shown inline at the bottom of the items container.

Values that are inherited from the base types are shown in brackets, values specifically set against the item are shown without brackets.

If a facet is not valid for a given type (typically because of its data type), then its value is shown in red.

Inline properties can be disabled in the Options.