blob: 76f1fee297df1346f2e3f953219ff36bebbe1e12 [file] [log] [blame]
kprice159fa582006-05-08 21:30:45 +00001<?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">
syeshinf3d0d4b2005-07-27 18:33:03 +00003<head>
kprice159fa582006-05-08 21:30:45 +00004<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
kpricede20a692008-04-24 00:27:47 +00005<meta name="copyright" content="Copyright (c) 2000, 2008 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, 2008" />
kprice159fa582006-05-08 21:30:45 +00007<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" />
kpricede20a692008-04-24 00:27:47 +000012<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 pressing 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 pressing F3 to jump to the item it refers to." />
kprice159fa582006-05-08 21:30:45 +000014<meta content="XML schema files, navigating" name="DC.subject" />
15<meta content="XML schema files, navigating" name="keywords" />
kprice43d0c0f2006-05-18 15:56:09 +000016<meta scheme="URI" name="DC.Relation" content="../topics/cxmlsced.html" />
kprice159fa582006-05-08 21:30:45 +000017<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" />
syeshinf3d0d4b2005-07-27 18:33:03 +000021<title>Navigating XML schemas</title>
syeshin8f077832005-09-06 04:22:45 +000022</head>
syeshinf3d0d4b2005-07-27 18:33:03 +000023<body id="tnavsrc"><a name="tnavsrc"><!-- --></a>
kprice159fa582006-05-08 21:30:45 +000024
25
syeshinf3d0d4b2005-07-27 18:33:03 +000026<h1 class="topictitle1">Navigating XML schemas</h1>
kprice159fa582006-05-08 21:30:45 +000027
28
29
30
syeshinf3d0d4b2005-07-27 18:33:03 +000031<div><p>When you are working in the Source view, you can use F3 to navigate
kpricede20a692008-04-24 00:27:47 +000032through the file by placing your cursor in the appropriate item and pressing
syeshind0bdb8e2005-10-27 17:44:14 +000033F3 to jump to the item it refers to. </p>
kprice159fa582006-05-08 21:30:45 +000034
syeshind0bdb8e2005-10-27 17:44:14 +000035<div class="section"><p>You can jump to any of the following items:</p>
kprice159fa582006-05-08 21:30:45 +000036<ul>
37<li>Element or attribute declaration's type</li>
38
syeshinf3d0d4b2005-07-27 18:33:03 +000039<li>Element references</li>
kprice159fa582006-05-08 21:30:45 +000040
syeshinf3d0d4b2005-07-27 18:33:03 +000041<li>Group references</li>
kprice159fa582006-05-08 21:30:45 +000042
syeshinf3d0d4b2005-07-27 18:33:03 +000043<li>Attribute references</li>
kprice159fa582006-05-08 21:30:45 +000044
syeshinf3d0d4b2005-07-27 18:33:03 +000045<li>Attribute group references</li>
kprice159fa582006-05-08 21:30:45 +000046
syeshinf3d0d4b2005-07-27 18:33:03 +000047<li>Import, include, and redefine element (the external schema will open in
48the XML schema editor. This only works with schemas in the workspace).</li>
kprice159fa582006-05-08 21:30:45 +000049
kpricede20a692008-04-24 00:27:47 +000050<li />
51
syeshinf3d0d4b2005-07-27 18:33:03 +000052</ul>
kpricede20a692008-04-24 00:27:47 +000053<p>You must place your cursor exactly in the location of
54the reference (for example between the double quotes for <tt class="sysout">type
55= " "</tt> or <tt class="sysout">base = " "</tt>).</p>
56<p>For
57example, if you place your cursor anywhere in the following text and press
58F3:</p>
59<p> <tt class="sysout">&lt;element name="shipTo" type="po:USAddress"&gt;&lt;/element&gt;</tt> </p>
syeshinf3d0d4b2005-07-27 18:33:03 +000060<p>the
61cursor will automatically jump to the location in the file where the type
62USAddress is defined.</p>
syeshind0bdb8e2005-10-27 17:44:14 +000063<p>Or, if you place your cursor anywhere in the following
64text and click F3:</p>
syeshinf3d0d4b2005-07-27 18:33:03 +000065<p> <tt class="sysout">&lt;element ref="po:ContactElement"&gt;&lt;/element&gt;</tt> </p>
66<p>the
67cursor will automatically jump to the location in the file where the global
68element ContactElement is defined.</p>
69<p>This works across files. For example,
syeshind0bdb8e2005-10-27 17:44:14 +000070if the type you have selected is defined in another XML schema and you click
syeshinf3d0d4b2005-07-27 18:33:03 +000071F3, you will automatically be taken to that file.</p>
72</div>
kprice159fa582006-05-08 21:30:45 +000073
syeshinf3d0d4b2005-07-27 18:33:03 +000074</div>
kprice159fa582006-05-08 21:30:45 +000075
kprice43d0c0f2006-05-18 15:56:09 +000076<div><div class="relconcepts"><strong>Related concepts</strong><br />
77<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>
78</div>
79</div>
kprice159fa582006-05-08 21:30:45 +000080
81</body>
syeshinf3d0d4b2005-07-27 18:33:03 +000082</html>