kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 1 | <?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"> |
| 2 | <html lang="en-us" xml:lang="en-us"> |
syeshin | f3d0d4b | 2005-07-27 18:33:03 +0000 | [diff] [blame] | 3 | <head> |
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 4 | <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> |
| 5 | <meta name="copyright" content="Copyright (c) 2000, 2006 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html. Contributors: IBM Corporation - initial API and implementation" /> |
| 6 | <meta name="DC.rights.owner" content="(C) Copyright 2000, 2006" /> |
| 7 | <meta content="public" name="security" /> |
| 8 | <meta content="index,follow" name="Robots" /> |
| 9 | <meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' /> |
| 10 | <meta content="task" name="DC.Type" /> |
| 11 | <meta name="DC.Title" content="Navigating XML schemas" /> |
| 12 | <meta name="abstract" content="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 clicking F3 to jump to the item it refers to." /> |
| 13 | <meta name="description" content="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 clicking F3 to jump to the item it refers to." /> |
| 14 | <meta content="XML schema files, navigating" name="DC.subject" /> |
| 15 | <meta content="XML schema files, navigating" name="keywords" /> |
kprice | 43d0c0f | 2006-05-18 15:56:09 +0000 | [diff] [blame] | 16 | <meta scheme="URI" name="DC.Relation" content="../topics/cxmlsced.html" /> |
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 17 | <meta content="XHTML" name="DC.Format" /> |
| 18 | <meta content="tnavsrc" name="DC.Identifier" /> |
| 19 | <meta content="en-us" name="DC.Language" /> |
| 20 | <link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" /> |
syeshin | f3d0d4b | 2005-07-27 18:33:03 +0000 | [diff] [blame] | 21 | <title>Navigating XML schemas</title> |
syeshin | 8f07783 | 2005-09-06 04:22:45 +0000 | [diff] [blame] | 22 | </head> |
syeshin | f3d0d4b | 2005-07-27 18:33:03 +0000 | [diff] [blame] | 23 | <body id="tnavsrc"><a name="tnavsrc"><!-- --></a> |
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 24 | |
| 25 | |
syeshin | f3d0d4b | 2005-07-27 18:33:03 +0000 | [diff] [blame] | 26 | <h1 class="topictitle1">Navigating XML schemas</h1> |
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 27 | |
| 28 | |
| 29 | |
| 30 | |
syeshin | f3d0d4b | 2005-07-27 18:33:03 +0000 | [diff] [blame] | 31 | <div><p>When you are working in the Source view, you can use F3 to navigate |
syeshin | d0bdb8e | 2005-10-27 17:44:14 +0000 | [diff] [blame] | 32 | through the file by placing your cursor in the appropriate item and clicking |
| 33 | F3 to jump to the item it refers to. </p> |
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 34 | |
syeshin | d0bdb8e | 2005-10-27 17:44:14 +0000 | [diff] [blame] | 35 | <div class="section"><p>You can jump to any of the following items:</p> |
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 36 | <ul> |
| 37 | <li>Element or attribute declaration's type</li> |
| 38 | |
syeshin | f3d0d4b | 2005-07-27 18:33:03 +0000 | [diff] [blame] | 39 | <li>Element references</li> |
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 40 | |
syeshin | f3d0d4b | 2005-07-27 18:33:03 +0000 | [diff] [blame] | 41 | <li>Group references</li> |
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 42 | |
syeshin | f3d0d4b | 2005-07-27 18:33:03 +0000 | [diff] [blame] | 43 | <li>Attribute references</li> |
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 44 | |
syeshin | f3d0d4b | 2005-07-27 18:33:03 +0000 | [diff] [blame] | 45 | <li>Attribute group references</li> |
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 46 | |
syeshin | f3d0d4b | 2005-07-27 18:33:03 +0000 | [diff] [blame] | 47 | <li>Import, include, and redefine element (the external schema will open in |
| 48 | the XML schema editor. This only works with schemas in the workspace).</li> |
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 49 | |
syeshin | f3d0d4b | 2005-07-27 18:33:03 +0000 | [diff] [blame] | 50 | </ul> |
syeshin | d0bdb8e | 2005-10-27 17:44:14 +0000 | [diff] [blame] | 51 | <p>You must place your cursor exactly in the location of the reference |
| 52 | (for example between the double quotes for <tt class="sysout">type = " "</tt> or |
| 53 | <tt class="sysout">base = " "</tt>).</p> |
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 54 | <p>For example, if you place |
| 55 | your cursor anywhere in the following text and click F3:</p> |
syeshin | d0bdb8e | 2005-10-27 17:44:14 +0000 | [diff] [blame] | 56 | <p> <tt class="sysout"><element |
| 57 | name="shipTo" type="po:USAddress"></element></tt> </p> |
syeshin | f3d0d4b | 2005-07-27 18:33:03 +0000 | [diff] [blame] | 58 | <p>the |
| 59 | cursor will automatically jump to the location in the file where the type |
| 60 | USAddress is defined.</p> |
syeshin | d0bdb8e | 2005-10-27 17:44:14 +0000 | [diff] [blame] | 61 | <p>Or, if you place your cursor anywhere in the following |
| 62 | text and click F3:</p> |
syeshin | f3d0d4b | 2005-07-27 18:33:03 +0000 | [diff] [blame] | 63 | <p> <tt class="sysout"><element ref="po:ContactElement"></element></tt> </p> |
| 64 | <p>the |
| 65 | cursor will automatically jump to the location in the file where the global |
| 66 | element ContactElement is defined.</p> |
| 67 | <p>This works across files. For example, |
syeshin | d0bdb8e | 2005-10-27 17:44:14 +0000 | [diff] [blame] | 68 | if the type you have selected is defined in another XML schema and you click |
syeshin | f3d0d4b | 2005-07-27 18:33:03 +0000 | [diff] [blame] | 69 | F3, you will automatically be taken to that file.</p> |
| 70 | </div> |
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 71 | |
syeshin | f3d0d4b | 2005-07-27 18:33:03 +0000 | [diff] [blame] | 72 | </div> |
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 73 | |
kprice | 43d0c0f | 2006-05-18 15:56:09 +0000 | [diff] [blame] | 74 | <div><div class="relconcepts"><strong>Related concepts</strong><br /> |
| 75 | <div><a href="../topics/cxmlsced.html" title="This product provides an XML schema editor for creating, viewing, and validating XML schemas. XML schemas are a formal specification of element names that indicates which elements are allowed in an XML file, and in which combinations.">XML schema editor</a></div> |
| 76 | </div> |
| 77 | </div> |
kprice | 159fa58 | 2006-05-08 21:30:45 +0000 | [diff] [blame] | 78 | |
| 79 | </body> |
syeshin | f3d0d4b | 2005-07-27 18:33:03 +0000 | [diff] [blame] | 80 | </html> |