| <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html lang="en-us" xml:lang="en-us"> |
| <head> |
| <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> |
| <meta name="copyright" content="Copyright (c) 2000, 2006 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html. Contributors: IBM Corporation - initial API and implementation" /> |
| <meta name="DC.rights.owner" content="(C) Copyright 2000, 2006" /> |
| <meta content="public" name="security" /> |
| <meta content="index,follow" name="Robots" /> |
| <meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' /> |
| <meta content="task" name="DC.Type" /> |
| <meta name="DC.Title" content="Adding groups" /> |
| <meta name="abstract" content="When you create a group, it automatically contains a content model. The content model is a representation of any data that can be grouped together by the group, such as elements, element references, and group references." /> |
| <meta name="description" content="When you create a group, it automatically contains a content model. The content model is a representation of any data that can be grouped together by the group, such as elements, element references, and group references." /> |
| <meta content="XML schema editor, adding, groups, XML schema files" name="DC.subject" /> |
| <meta content="XML schema editor, adding, groups, XML schema files" name="keywords" /> |
| <meta scheme="URI" name="DC.Relation" content="../topics/taddgrpr.html" /> |
| <meta scheme="URI" name="DC.Relation" content="../topics/taddcmod.html" /> |
| <meta content="XHTML" name="DC.Format" /> |
| <meta content="taddgrup" name="DC.Identifier" /> |
| <meta content="en-us" name="DC.Language" /> |
| <link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" /> |
| <title>Adding groups</title> |
| </head> |
| <body id="taddgrup"><a name="taddgrup"><!-- --></a> |
| |
| |
| <h1 class="topictitle1">Adding groups</h1> |
| |
| |
| |
| |
| <div><p>When you create a group, it automatically contains a content model. |
| The content model is a representation of any data that can be grouped together |
| by the group, such as elements, element references, and group references.</p> |
| |
| <div class="section"><p /> |
| <p>The following instructions were written for the Resource |
| perspective, but they will also work in many other perspectives.</p> |
| <p>To |
| add a group, follow these steps:</p> |
| </div> |
| |
| <ol> |
| <li class="stepexpand"><span>Open your XML schema in the XML schema editor.</span></li> |
| |
| <li class="stepexpand"><span>In the Outline view, right-click <strong>Groups</strong>, and click <span class="uicontrol">Add |
| Group</span>.</span></li> |
| |
| <li class="stepexpand"><span>In the Properties view, type a new name for the group in the <span class="uicontrol">Name</span> field.</span> |
| </li> |
| |
| <li class="stepexpand"><span>Click the <span class="uicontrol">Documentation</span> tab if you want |
| to provide any information about this group element.</span> The <span class="uicontrol">Documentation</span> page |
| is used for human readable material, such as a description.</li> |
| |
| <li class="stepexpand"><span>Click the <span class="uicontrol">Extensions</span> tab if you want to |
| add application information elements to your annotations of schema components.</span> |
| The <span class="uicontrol">Extensions</span> page allows you to |
| specify the schema and add XML content to your annotations.</li> |
| |
| <li class="stepexpand"><span>In the Outline view, expand the <span class="uicontrol">Groups</span> folder |
| and your new group.</span></li> |
| |
| <li class="stepexpand"><span>Your group automatically contains a content model. </span> A |
| group's content model is the representation of any data that can be contained |
| inside the group. For more information about working with content models, |
| refer to the related tasks.</li> |
| |
| </ol> |
| |
| </div> |
| |
| <div><div class="reltasks"><strong>Related tasks</strong><br /> |
| <div><a href="../topics/taddgrpr.html" title="A group reference is a declaration that references a group. It enables the referenced group to appear in the instance document in the context of the referencing declaration.">Adding group references</a></div> |
| <div><a href="../topics/taddcmod.html" title="A content model is the representation of any data that can be contained inside an element, global element, complex type, or group. It is a formal description of the structure and permissible content of an element, global element, complex type, or group, which may be used to validate a document instance.">Adding content models</a></div> |
| </div> |
| </div> |
| |
| </body> |
| </html> |