blob: 582def5858beb24791aee43ad6e8de8a4b52c9f6 [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" />
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" />
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
syeshind0bdb8e2005-10-27 17:44:14 +000032through the file by placing your cursor in the appropriate item and clicking
33F3 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
syeshinf3d0d4b2005-07-27 18:33:03 +000050</ul>
syeshind0bdb8e2005-10-27 17:44:14 +000051<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>
kprice159fa582006-05-08 21:30:45 +000054<p>For example, if you place
55your cursor anywhere in the following text and click F3:</p>
syeshind0bdb8e2005-10-27 17:44:14 +000056<p> <tt class="sysout">&lt;element
57name="shipTo" type="po:USAddress"&gt;&lt;/element&gt;</tt> </p>
syeshinf3d0d4b2005-07-27 18:33:03 +000058<p>the
59cursor will automatically jump to the location in the file where the type
60USAddress is defined.</p>
syeshind0bdb8e2005-10-27 17:44:14 +000061<p>Or, if you place your cursor anywhere in the following
62text and click F3:</p>
syeshinf3d0d4b2005-07-27 18:33:03 +000063<p> <tt class="sysout">&lt;element ref="po:ContactElement"&gt;&lt;/element&gt;</tt> </p>
64<p>the
65cursor will automatically jump to the location in the file where the global
66element ContactElement is defined.</p>
67<p>This works across files. For example,
syeshind0bdb8e2005-10-27 17:44:14 +000068if the type you have selected is defined in another XML schema and you click
syeshinf3d0d4b2005-07-27 18:33:03 +000069F3, you will automatically be taken to that file.</p>
70</div>
kprice159fa582006-05-08 21:30:45 +000071
syeshinf3d0d4b2005-07-27 18:33:03 +000072</div>
kprice159fa582006-05-08 21:30:45 +000073
kprice43d0c0f2006-05-18 15:56:09 +000074<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>
kprice159fa582006-05-08 21:30:45 +000078
79</body>
syeshinf3d0d4b2005-07-27 18:33:03 +000080</html>