blob: c4f2a0ffd1a7d5e8b5c4cf26cf30bb7f0cc982d8 [file] [log] [blame]
kprice159fa582006-05-08 21:30:45 +00001<?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
10through the file by placing your cursor in the appropriate item and clicking
11F3 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
24the 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
28your cursor anywhere in the following text and click F3:</p><p> <systemoutput>&lt;element
29name="shipTo" type="po:USAddress">&lt;/element></systemoutput> </p><p>the
30cursor will automatically jump to the location in the file where the type
31USAddress is defined.</p><p>Or, if you place your cursor anywhere in the following
32text and click F3:</p><p> <systemoutput>&lt;element ref="po:ContactElement">&lt;/element></systemoutput> </p><p>the
33cursor will automatically jump to the location in the file where the global
34element ContactElement is defined.</p><p>This works across files. For example,
35if the type you have selected is defined in another XML schema and you click
36F3, you will automatically be taken to that file.</p></context>
37</taskbody>
38</task>