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-->
|
| 3 | <!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
|
| 4 | <task id="tnavsrc" xml:lang="en-us">
|
| 5 | <title>Navigating XML schemas</title>
|
| 6 | <titlealts>
|
| 7 | <searchtitle>Navigating XML schemas</searchtitle>
|
| 8 | </titlealts>
|
| 9 | <shortdesc>When you are working in the Source view, you can use F3 to navigate
|
| 10 | through the file by placing your cursor in the appropriate item and clicking
|
| 11 | F3 to jump to the item it refers to. </shortdesc>
|
| 12 | <prolog><metadata>
|
| 13 | <keywords><indexterm>XML schema files<indexterm>navigating</indexterm></indexterm>
|
| 14 | </keywords>
|
| 15 | </metadata></prolog>
|
| 16 | <taskbody>
|
| 17 | <context><p>You can jump to any of the following items:</p><ul>
|
| 18 | <li>Element or attribute declaration's type</li>
|
| 19 | <li>Element references</li>
|
| 20 | <li>Group references</li>
|
| 21 | <li>Attribute references</li>
|
| 22 | <li>Attribute group references</li>
|
| 23 | <li>Import, include, and redefine element (the external schema will open in
|
| 24 | the XML schema editor. This only works with schemas in the workspace).</li>
|
| 25 | </ul><p>You must place your cursor exactly in the location of the reference
|
| 26 | (for example between the double quotes for <systemoutput>type = " "</systemoutput> or
|
| 27 | <systemoutput>base = " "</systemoutput>).</p><p>For example, if you place
|
| 28 | your cursor anywhere in the following text and click F3:</p><p> <systemoutput><element
|
| 29 | name="shipTo" type="po:USAddress"></element></systemoutput> </p><p>the
|
| 30 | cursor will automatically jump to the location in the file where the type
|
| 31 | USAddress is defined.</p><p>Or, if you place your cursor anywhere in the following
|
| 32 | text and click F3:</p><p> <systemoutput><element ref="po:ContactElement"></element></systemoutput> </p><p>the
|
| 33 | cursor will automatically jump to the location in the file where the global
|
| 34 | element ContactElement is defined.</p><p>This works across files. For example,
|
| 35 | if the type you have selected is defined in another XML schema and you click
|
| 36 | F3, you will automatically be taken to that file.</p></context>
|
| 37 | </taskbody>
|
| 38 | </task>
|