blob: 130e49adbbfffcac9e9091e86817f22806410d6b [file] [log] [blame]
kprice159fa582006-05-08 21:30:45 +00001<?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">
2<html lang="en-us" xml:lang="en-us">
syeshinf3d0d4b2005-07-27 18:33:03 +00003<head>
kprice159fa582006-05-08 21:30:45 +00004<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
5<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" />
6<meta name="DC.rights.owner" content="(C) Copyright 2000, 2006" />
7<meta content="public" name="security" />
8<meta content="index,follow" name="Robots" />
9<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))' />
10<meta content="task" name="DC.Type" />
11<meta name="DC.Title" content="Adding group references" />
12<meta name="abstract" content="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." />
13<meta name="description" content="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." />
14<meta content="XML schema editor, adding, group references, XML schema files" name="DC.subject" />
15<meta content="XML schema editor, adding, group references, XML schema files" name="keywords" />
kprice43d0c0f2006-05-18 15:56:09 +000016<meta scheme="URI" name="DC.Relation" content="../topics/taddgrup.html" />
kprice159fa582006-05-08 21:30:45 +000017<meta content="XHTML" name="DC.Format" />
18<meta content="taddgrpr" name="DC.Identifier" />
19<meta content="en-us" name="DC.Language" />
20<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
21<title>Adding group references</title>
syeshin8f077832005-09-06 04:22:45 +000022</head>
syeshinf3d0d4b2005-07-27 18:33:03 +000023<body id="taddgrpr"><a name="taddgrpr"><!-- --></a>
24
kprice159fa582006-05-08 21:30:45 +000025
syeshind0bdb8e2005-10-27 17:44:14 +000026<h1 class="topictitle1">Adding group references</h1>
kprice159fa582006-05-08 21:30:45 +000027
28
29
30
31<div><p>A group reference is a declaration that references a group. It
32enables the referenced group to appear in the instance document in the context
33of the referencing declaration.</p>
34
35<div class="section">The menu option to add a group reference only appears if there are
36groups defined elsewhere in the document.<p>The following instructions were
37written for the Resource perspective, but they will also work in many other
38perspectives.</p>
syeshinf3d0d4b2005-07-27 18:33:03 +000039<p>To add a group reference, follow these steps:</p>
40</div>
kprice159fa582006-05-08 21:30:45 +000041
42<ol>
kprice43d0c0f2006-05-18 15:56:09 +000043<li class="stepexpand"><span>In the Design view, right-click the content model you want to work
kprice159fa582006-05-08 21:30:45 +000044with and select <span class="uicontrol">Add Group Ref</span>.</span></li>
45
46<li class="stepexpand"><span>Select the new group reference.</span></li>
47
48<li class="stepexpand"><span>In the Properties view, select the group you want to refer to in
49the <span class="uicontrol">ref</span> list.</span></li>
50
51<li class="stepexpand"><span>Click the <span class="uicontrol">Documentation</span> tab if you want
syeshinf3d0d4b2005-07-27 18:33:03 +000052to provide any information about this group reference.</span> The <span class="uicontrol">Documentation</span> page
kprice43d0c0f2006-05-18 15:56:09 +000053is used for human readable material, such as a description.
kprice159fa582006-05-08 21:30:45 +000054</li>
55
kprice43d0c0f2006-05-18 15:56:09 +000056<li class="stepexpand"><span>Click the <span class="uicontrol">Extensions</span> tab if you want to
57add application information elements to your annotations of schema components.</span>
58 The <span class="uicontrol">Extensions</span> page allows you to specify the
59schema and add XML content to your annotations.</li>
60
syeshinf3d0d4b2005-07-27 18:33:03 +000061</ol>
kprice159fa582006-05-08 21:30:45 +000062
syeshinf3d0d4b2005-07-27 18:33:03 +000063</div>
64
kprice43d0c0f2006-05-18 15:56:09 +000065<div><div class="reltasks"><strong>Related tasks</strong><br />
66<div><a href="../topics/taddgrup.html" title="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.">Adding groups</a></div>
67</div>
68</div>
kprice159fa582006-05-08 21:30:45 +000069
syeshinf3d0d4b2005-07-27 18:33:03 +000070</body>
71</html>