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>XML Schema Editor: Adding XML Schema Components Using the Schema View</title>
12
<h2>XML Schema Editor: Adding XML Schema Components Using the Schema View</h2>
13
<p><small><a href="#seealso">See Also</a></small></p>
14
<p>When you add XML schema components in the Schema view, a dialog box that lets you customize the new component may open automatically. The following table lists the main components that you can add in the Schema view.</p>
16
<li>For those schema components not listed in the following table, use this step as a starting point: In the Schema view, right-click the node of the schema component where you want to add the new component and choose Add > <i>component</i> from the pop-up menu.</li>
18
<table border="1" cellpadding="5" cellspacing="0">
20
<th scope="col" align="left" nowrap>To add this schema component ...</th>
21
<th scope="col" align="left">Follow these instructions ...</th>
25
<td><a href="../tasks/addingannotation.html">Adding an <tt>annotation</tt> Component to an XML Schema File</a></td>
29
<td><a href="../tasks/addingglobalattribute.html">Adding a Global <tt>attribute</tt> Component to an XML Schema File</a><br>
31
<a href="../tasks/addinglocalattribute.html">Adding a Local <tt>attribute</tt> Component to an XML Schema File</a></td>
34
<td>Attribute reference</td>
35
<td><a href="../tasks/addingreference.html" title="Adding a Reference Component to an XML Schema File">Adding a Reference Component to an XML Schema File</a></td>
38
<td>Attribute Group</td>
39
<td><a href="../tasks/addingattributegroup.html">Adding an <tt>attributeGroup</tt> Component to an XML Schema File</a></td>
42
<td>Attribute Group reference</td>
43
<td><a href="../tasks/addingreference.html" title="Adding a Reference Component to an XML Schema File">Adding a Reference Component to an XML Schema File</a></td>
47
<td><a href="../tasks/addingglobalcomplextype.html" title="Adding a Global complexType Component to an XML Schema File">Adding a Global <tt>complexType</tt> Component to an XML Schema File</a><br>
49
<a href="../tasks/addinglocalcomplextype.html" title="Adding a Local complexType Component to an XML Schema File">Adding a Local <tt>complexType</tt> Component to an XML Schema File</a></td>
53
<td><a href="../tasks/addingcompositors.html" title="Adding a Compositor to an XML Schema File">Adding a Compositor to an XML Schema File</a></td>
56
<td>Documentation</td>
57
<td><a href="../tasks/addingdocumentation.html">Adding a <tt>documentation</tt> Component to an XML Schema File</a></td>
61
<td><a href="../tasks/addingglobalelement.html">Adding a Global <tt>element</tt> Component to an XML Schema File</a><br>
63
<a href="../tasks/addinglocalelement.html">Adding a Local <tt>element</tt> Component to an XML Schema File</a></td>
66
<td>Element reference</td>
67
<td><a href="../tasks/addingreference.html" title="Adding a Reference Component to an XML Schema File">Adding a Reference Component to an XML Schema File</a></td>
71
<td><a href="../tasks/addingenumeration.html" title="Adding an enumeration Constraint for a simpleType Component in an XML Schema File">Adding an <tt>enumeration</tt> Constraint for a <tt>simpleType</tt> Component in an XML Schema File</a></td>
74
<td>External reference</td>
75
<td><a href="../tasks/addingimport.html">Adding an <tt>import</tt> Component to an XML Schema File</a><br>
77
<a href="../tasks/addinginclude.html">Adding an <tt>include</tt> Component to an XML Schema File</a><br>
79
<a href="../tasks/addingredefine.html">Adding a <tt>redefine</tt> Component to an XML Schema File</a></td>
83
<td><a href="../tasks/addinggroup.html">Adding a <tt>group</tt> Component to an XML Schema File</a></td>
86
<td>Group reference</td>
87
<td><a href="../tasks/addingreference.html" title="Adding a Reference Component to an XML Schema File">Adding a Reference Component to an XML Schema File</a></td>
91
<td><a href="../tasks/addingglobalsimpletype.html" title="Adding a Global simpleType Component to an XML Schema File">Adding a Global <tt>simpleType</tt> Component to an XML Schema File</a><br>
93
<a href="../tasks/addinglocalsimpletype.html" title="Adding a Local simpleType Component to an XML Schema File">Adding a Local <tt>simpleType</tt> Component to an XML Schema File</a></td>
98
<dt><a name="seealso">See Also</a></dt>
99
<dd><a href="editingcomponents.html">Editing XML Schema Components Using the Schema View</a></dd>
100
<dd><a href="about.html" title="XML Schema Editor: About the Schema View">About the Schema View</a></dd>
103
<small><a href="../credits.html">Legal Notices</a></small>
104
<table cellpadding="150" border="0">
105
<tr><td> </td></tr>
106
<tr><td> </td></tr>
107
<tr><td> </td></tr>