<?xml version="1.0" encoding="utf-8"?> | |
<!--Arbortext, Inc., 1988-2006, v.4002--> | |
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" | |
"task.dtd"> | |
<task id="tnavsrc" xml:lang="en-us"> | |
<title>Navigating XML schemas</title> | |
<titlealts> | |
<searchtitle>Navigating XML schemas</searchtitle> | |
</titlealts> | |
<shortdesc>When you are working in the Source view, you can use F3 to navigate | |
through the file by placing your cursor in the appropriate item and pressing | |
F3 to jump to the item it refers to. </shortdesc> | |
<prolog><metadata> | |
<keywords><indexterm>XML schema files<indexterm>navigating</indexterm></indexterm> | |
</keywords> | |
</metadata></prolog> | |
<taskbody> | |
<context><p>You can jump to any of the following items:</p><ul> | |
<li>Element or attribute declaration's type</li> | |
<li>Element references</li> | |
<li>Group references</li> | |
<li>Attribute references</li> | |
<li>Attribute group references</li> | |
<li>Import, include, and redefine element (the external schema will open in | |
the XML schema editor. This only works with schemas in the workspace).</li> | |
<li></li> | |
</ul><p>You<?Pub Caret?> must place your cursor exactly in the location of | |
the reference (for example between the double quotes for <systemoutput>type | |
= " "</systemoutput> or <systemoutput>base = " "</systemoutput>).</p><p>For | |
example, if you place your cursor anywhere in the following text and press | |
F3:</p><p> <systemoutput><element name="shipTo" type="po:USAddress"></element></systemoutput> </p><p>the | |
cursor will automatically jump to the location in the file where the type | |
USAddress is defined.</p><p>Or, if you place your cursor anywhere in the following | |
text and click F3:</p><p> <systemoutput><element ref="po:ContactElement"></element></systemoutput> </p><p>the | |
cursor will automatically jump to the location in the file where the global | |
element ContactElement is defined.</p><p>This works across files. For example, | |
if the type you have selected is defined in another XML schema and you click | |
F3, you will automatically be taken to that file.</p></context> | |
</taskbody> | |
</task> | |
<?Pub *0000002066?> |