1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
4
* Use is subject to license terms.
8
<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
9
<title>Adding an attributeGroup Component to an XML Schema File</title>
12
<h2>Adding an <tt>attributeGroup</tt> Component to an XML Schema File</h2>
13
<p><small><a href="#seealso">See Also</a></small></p>
14
<p>You use an <tt>attributeGroup</tt> to define an attribute group to use in complex type definitions.</p>
16
<p><b>To add an <tt>attributeGroup</tt> component:</b></p>
18
<li>In the IDE, open the schema file where you want to add the <tt>attributeGroup</tt> component.</li>
19
<li>In the Schema view, right-click the root node of the schema and choose Add > Attribute Group from the pop-up menu.<br>
21
In the Schema view, right-click the <tt>Attribute Groups</tt> node and choose Add Attribute Group from the pop-up menu.<br>
22
The IDE adds a node for the new attribute group under the <tt>Attribute Groups</tt> node.</li>
26
<dt><a name="seealso">See Also</a></dt>
27
<dd><a href="../about.html" title="About XML Schema Tools">About XML Schema Tools</a></dd>
30
<small><a href="../credits.html">Legal Notices</a></small>
31
<table cellpadding="150" border="0">
32
<tr><td> </td></tr>
33
<tr><td> </td></tr>
34
<tr><td> </td></tr>