Liquid XML Studio 2019
Attribute Group Definition
XSD Editor > Graphical Notation Overview > Attribute Group Definition
 Graphical Representation
The xs:attributeGroup allows you to create groups of attributes that can be used as components inside other elements.
A group can only be defined at the root level (i.e. as a parent of the xs:schema).
A xs:attributeGroup can be added to a xs:schema by right click context menu on the xs:schema item and selecting Add Child -> Attribute Group.


Name  The name the group will be referred to as. This must be unique, and its a good standard to postfix it with 'Group').
Id  A user defined ID to uniquely identify the entity within the schema.



 Will be represented like this

XSD Sample Code
Copy Code
<xs:attributeGroup name="FullNameGroup">
 <xs:attribute name="Forename" type="xs:string" />
 <xs:attribute name="Middlename" type="xs:string" use="optional" />
 <xs:attribute name="Surname" type="xs:string" />

Will be represented like this  


 Inline 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.