Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Web Tools Guide
Previous Page Home Next Page

Navigating XML schemas

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.

You can jump to any of the following items:

  • Element or attribute declaration's type
  • Element references
  • Group references
  • Attribute references
  • Attribute group references
  • Import, include, and redefine element (the external schema will open in the XML schema editor. This only works with schemas in the workspace).

You must place your cursor exactly in the location of the reference (for example between the double quotes for type = " " or base = " ").

For example, if you place your cursor anywhere in the following text and press F3:

<element name="shipTo" type="po:USAddress"></element>

the cursor will automatically jump to the location in the file where the type USAddress is defined.

Or, if you place your cursor anywhere in the following text and click F3:

<element ref="po:ContactElement"></element>

the cursor will automatically jump to the location in the file where the global element ContactElement is defined.

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.

Related concepts

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire