| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE html |
| PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html> |
| <head> |
| <link rel="stylesheet" type="text/css" href="../../com.ibm.help.doc/swg_info_common.css" /> |
| <title>Navigating XML schemas</title> |
| <script language="JavaScript"> |
| function popup_window( url, id, width, height ) |
| { |
| popup = window.open( url, id, 'toolbar=no,scrollbars=no,location=no,statusbar=no,menubar=no,resizable=no,width=' + width + ',height=' + height + ',left=,top=' ); |
| popup.focus(); |
| } |
| </script><script language="JavaScript" src="help/liveHelp.js"></script></head> |
| <body id="tnavsrc"><a name="tnavsrc"><!-- --></a> |
| |
| <h1 class="topictitle1">Navigating XML schemas</h1> |
| <div><p>When you are working in the Source view, you can use F3 to navigate |
| through the file. You can place your cursor in any of the following items |
| and press the F3 key to jump to the item it refers to. You must place your |
| cursor exactly in the location of the reference (for example between the double |
| quotes for <tt class="sysout">type = " "</tt> or <tt class="sysout">base |
| = " "</tt>):</p><div class="skipspace"><ul><li>Element or attribute declaration's type</li> |
| <li> Restriction (you jump to the base type it refers to) </li> |
| <li> List (you jump to the type it refers to) </li> |
| <li> Union (you jump to the type it refers to) </li> |
| <li>Element references</li> |
| <li>Key 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> |
| </ul> |
| <p>For example, if you place your cursor anywhere in the bolded text |
| below and click F3:</p> |
| <p> <tt class="sysout"><element name="shipTo" type="po:USAddress"></element></tt> </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 bolded |
| text below and click F3:</p> |
| <p> <tt class="sysout"><element ref="po:ContactElement"></element></tt> </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> |
| </div> |
| </div> |
| |
| <div><p><b class="relconceptshd">Related concepts</b><br /> |
| <a href="../topics/cxmlsced.html" title="XML schemas are an XML language for describing and constraining the content of XML files. ">XML schema editor</a><br /> |
| </p> |
| </div><p> |
| (C) Copyright IBM Corporation 2000, 2005. All Rights Reserved. |
| </p> |
| </body> |
| </html> |