blob: ee680ef6f08f4bc966fda526c217046af28ba3c0 [file] [log] [blame]
kprice159fa582006-05-08 21:30:45 +00001<?xml version="1.0" encoding="utf-8"?>
2<!--Arbortext, Inc., 1988-2005, v.4002-->
kprice647b7352006-05-17 21:27:16 +00003<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN"
4 "task.dtd">
5<?Pub Inc?>
kprice159fa582006-05-08 21:30:45 +00006<task id="taddnot" xml:lang="en-us">
7<title>Adding notations</title>
8<titlealts>
9<searchtitle>Adding notations</searchtitle>
10</titlealts>
11<shortdesc>A notation is a means of associating a binary description with
12an entity or attribute. The most common uses of notations are to include familiar
13types of binary references, such as GIFs and JPGs, in an XML file.</shortdesc>
14<prolog><metadata>
15<keywords><indexterm>XML schema editor<indexterm>adding<indexterm>notations</indexterm></indexterm></indexterm>
16<indexterm>XML schema editor<indexterm>notations<indexterm>adding</indexterm></indexterm></indexterm>
17<indexterm>XML schema files<indexterm>adding<indexterm>notations</indexterm></indexterm></indexterm>
18<indexterm>XML schema files<indexterm>notations<indexterm>adding</indexterm></indexterm></indexterm>
19</keywords>
20</metadata></prolog>
21<taskbody>
22<context><p>For example, you are making a catalogue of your clothing and want
23to include an image of one of your shirts. You would have to create a notation
24like this: <userinput>&lt;notation name="My_Shirt" system="GIF">&lt;/notation></userinput> which
25defines a notation for a GIF image.</p><p>The following instructions were
26written for the Resource perspective, but they will also work in many other
27perspectives.</p><p>To create a notation, follow these steps:</p></context>
28<steps>
29<step><cmd>Open your XML schema in the XML schema editor.</cmd></step>
30<step><cmd>In the Outline view, right-click your XML schema and click <uicontrol>Add
31Notation</uicontrol>.</cmd></step>
32<step><cmd>In the Properties view, type the name of the notation in the <uicontrol>Name</uicontrol> field.</cmd>
33</step>
34<step><cmd>Click the <uicontrol>Other</uicontrol> tab.</cmd></step>
35<step><cmd>In the <uicontrol>public</uicontrol> field, type a public identifier.</cmd>
36<info> This is optional if you enter a value in the <uicontrol>system</uicontrol> field.</info>
37</step>
38<step><cmd>In the <uicontrol>system</uicontrol> field, type a URI reference.</cmd>
39<info> This is optional if you enter a value in the <uicontrol>public</uicontrol> field.</info>
40</step>
41<step><cmd>Click the <uicontrol>Documentation</uicontrol> tab if you want
42to provide any information about this notation.</cmd><info>The <uicontrol>Documentation</uicontrol> page
kprice647b7352006-05-17 21:27:16 +000043is used for human readable material, such as a description. <uicontrol>App
kprice159fa582006-05-08 21:30:45 +000044Info</uicontrol> page can be used to provide information for applications.</info>
45</step>
kprice647b7352006-05-17 21:27:16 +000046<step><cmd>Click the <uicontrol>Extensions</uicontrol> tab if you want to
47add application information elements to your annotations of schema components.</cmd>
48<info>The <uicontrol>Extensions</uicontrol> page allows you to specify the
49schema and add XML content to your annotations.</info><?Pub Caret?></step>
kprice159fa582006-05-08 21:30:45 +000050</steps>
51</taskbody>
52</task>
kprice647b7352006-05-17 21:27:16 +000053<?Pub *0000002959?>