blob: 77ad0c2409536a89184224c376c55dec0ff5bafe [file] [log] [blame]
<?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>
<head>
<link rel="stylesheet" type="text/css" href="../../org.eclipse.wst.doc.user/common.css" />
<title>Adding a notation</title>
</head>
<body id="taddnot"><a name="taddnot"><!-- --></a>
<h1 class="topictitle1">Adding a notation</h1>
<div><p>A notation is a means of associating a binary description with
an entity or attribute. For example, you are making a catalogue of your clothing
and want to include an image of one of your shirts. You would have to create
a notation such as the following: <kbd class="userinput">&lt;notation name="My_Shirt"
system="GIF"&gt;&lt;/notation&gt;</kbd> which defines a notation for a GIF
image.</p><div class="skipspace"><p>In the XML schema editor, you can add an notation element to an
XML schema. Before you can do this, you must create an XML schema and open
it in the XML schema editor.</p>
<p>The following instructions were written
for the Resource perspective, but they will also work in many other perspectives. </p>
<p>To
create a notation, follow these steps:</p>
</div>
<ol><li class="skipspace"><span>Open your XML schema in the XML schema editor.</span></li>
<li class="skipspace"><span>In the Outline view, right-click your XML schema and click <span class="uicontrol">Add
Notation</span>.</span></li>
<li class="skipspace"><span>In the Properties view, type the name of the notation in the <span class="uicontrol">Name</span> field.</span></li>
<li class="skipspace"><span>Click the <span class="uicontrol">Other</span> tab.</span></li>
<li class="skipspace"><span>In the <span class="uicontrol">public</span> field, type a public identifier.</span> This is optional if you enter a value in the <span class="uicontrol">system</span> field.</li>
<li class="skipspace"><span>In the <span class="uicontrol">system</span> field, type a URI reference.</span> This is optional if you enter a value in the <span class="uicontrol">public</span> field.</li>
<li class="skipspace"><span>Click the <span class="uicontrol">Documentation</span> tab if you want
to provide any information about this notation.</span> The <span class="uicontrol">Documentation</span> page
is used for human readable material, such as a description, and the <span class="uicontrol">App
Info</span> page can be used to provide information for applications. </li>
</ol>
</div>
<p>
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.
</p>
</body>
</html>