Defining attributeGroups in XML Schemas - Tree View

To define an attributeGroup:
1. Click the Schema node.
2. In the left tool bar, click New Attribute Group . In the Tree view, Stylus Studio displays a field for the new attributeGroup.
3. Type a name for the attributeGroup and press Enter.
4. In the left tool bar, click New Attribute Definition . In the Tree view, Stylus Studio displays a field for the new attribute definition.
5. Type a name for the new attribute and press Enter. Stylus Studio displays a scrollable, pop-up menu that lists the built-in simpleTypes and any previously defined simpleTypes.
6. Double-click the type of the new attribute.
7. For each additional attribute you want to add to the group, click the name of the attributeGroup in the Tree view, and repeat step 4 through step 6.
 
Free Stylus Studio XML Training: