kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?>
|
| 2 | <!--Arbortext, Inc., 1988-2005, v.4002-->
|
kprice | 647b735 | 2006-05-17 21:27:16 +0000 | [diff] [blame] | 3 | <!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN"
|
| 4 | "task.dtd">
|
| 5 | <?Pub Inc?>
|
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 6 | <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
|
| 12 | an entity or attribute. The most common uses of notations are to include familiar
|
| 13 | types 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
|
| 23 | to include an image of one of your shirts. You would have to create a notation
|
| 24 | like this: <userinput><notation name="My_Shirt" system="GIF"></notation></userinput> which
|
| 25 | defines a notation for a GIF image.</p><p>The following instructions were
|
| 26 | written for the Resource perspective, but they will also work in many other
|
| 27 | perspectives.</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
|
| 31 | Notation</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
|
| 42 | to provide any information about this notation.</cmd><info>The <uicontrol>Documentation</uicontrol> page
|
kprice | 647b735 | 2006-05-17 21:27:16 +0000 | [diff] [blame] | 43 | is used for human readable material, such as a description. <uicontrol>App
|
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 44 | Info</uicontrol> page can be used to provide information for applications.</info>
|
| 45 | </step>
|
kprice | 647b735 | 2006-05-17 21:27:16 +0000 | [diff] [blame] | 46 | <step><cmd>Click the <uicontrol>Extensions</uicontrol> tab if you want to
|
| 47 | add application information elements to your annotations of schema components.</cmd>
|
| 48 | <info>The <uicontrol>Extensions</uicontrol> page allows you to specify the
|
| 49 | schema and add XML content to your annotations.</info><?Pub Caret?></step>
|
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 50 | </steps>
|
| 51 | </taskbody>
|
| 52 | </task>
|
kprice | 647b735 | 2006-05-17 21:27:16 +0000 | [diff] [blame] | 53 | <?Pub *0000002959?>
|