Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

README.md

Logo Eclipse XPath evaluation plugin

This plugin provides a new view in an eclipse perspective and enables the user to evaluate XPath expressions against the active text editor containing XML.

Features:

  • XPath 2.0 expression validation
  • XML validation (well formed)
  • Executing XPath 2.0 expressions against XML
  • Namespace support in XPath queries
  • Pretty print

Supported Eclipse versions:

  • 2020-03 / 4.15
  • 2019-03,06,09,12 / 4.11, 4.12, 4.13, 4.14
  • 2018-09,12 / 4.9+, 4.10+
  • Photon / 4.8+
  • Oxygen / 4.7+
  • Neon / 4.6+
  • Mars / 4.5+
  • Luna / 4.4+
  • Kepler / 4.3+
  • Juno / 4.2+
  • Indigo / 3.7+
  • Helios / 3.6+
  • Galileo / 3.5+
  • Ganymede / 3.4+

Java version:

  • 1.6 and above (from plugin version 1.4.1 onwards)
  • 1.5 (up to plugin version 1.3.0)

Installation

Automatic installation - Drag & Drop (Indigo, Juno, Kepler, Luna, Mars, Neon, Oxygen, Photon, 2018+, 2019+, 2020+)

  • Drag and drop following icon Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client into a running Eclipse Indigo/Juno/Kepler/Luna/Mars/Neon/Oxygen/Photon workspace
  • Click "Next"
  • Accept license
  • Click "Finish"
  • You might be warned that you are installing unsigned content. If you are OK with it, click "OK" to proceed.
  • At the end of installation process you will be asked to restart Eclipse, click on "Restart now"

Automatic installation from within Eclipse Marketplace (Helios, Indigo, Juno, Kepler, Luna, Mars, Neon, Oxygen, Photon, 2018+, 2019+, 2020+)

  • Go to Help -> Eclipse Marketplace
  • Type into the search box "xpath", select "Tools" in the market combo box and/or "XML" in the categories combo box to narrow down the results and click "Go"
  • One of the results should appear "Eclipse XPath evaluation plugin", click on "Install" button next to it
  • Click "Next"
  • Accept license
  • Click "Finish"
  • You might be warned that you are installing unsigned content. If you are OK with it, click "OK" to proceed.
  • At the end of installation process you will be asked to restart Eclipse, click on "Restart now"

Manual installation from within Eclipse (Galileo, Helios, Indigo, Juno, Kepler, Luna, Mars, Neon, Oxygen, Photon, 2018+, 2019+, 2020+)

Manual installation from within Eclipse (Ganymede)

Manual installation (Ganymede, Galileo, Helios)

Post-installation tips

If you experience any issue related to either the plugin's GUI or your eclipse installation in general like tooltips displayed as black bubbles or any distortion of the icons you may want to put following two lines into your eclipse.ini file and restart your eclipse:

--launcher.GTK_version
2

Usage

Open XPath view (Indigo, Juno, Kepler, Luna, Mars, Neon, Oxygen, Photon)

  • Go to Window -> Show View -> Other -> XML -> XPath, whereas new view, for executing the XPath expressions, will be shown

Open XPath view (Ganymede, Galileo, Helios)

  • Go to Window -> Show View -> Other -> Other -> XPath, whereas new view, for executing the XPath expressions, will be shown

XPath view usage

  • Open an XML file in (any) text editor within your eclipse IDE
  • Provide XPath query you want to execute in the combo box
  • Optionally, you can define several namespaces used in your XPath query in the table on the right side of the view by providing namespace prefix and its URI or click on 'Load all namespaces from current file' to automatically load all the namespaces
  • Execute the query either by pressing 'Enter' (while the cursor is still in the XPath query input box) or by clicking on 'Run query' button
  • The result will be shown under the query combo box

ZIP archive

eclipse-xpath-evaluation-plugin-1.4.5.zip
eclipse-xpath-evaluation-plugin-1.3.0.zip

About

Automatically exported from code.google.com/p/eclipse-xpath-evaluation-plugin

Resources

Packages

No packages published
You can’t perform that action at this time.