XPlainer-Eclipse setup
 

  1. XPlainer 2.0 is based on WTP 1.5.
  2. These are the prerequisites to install XPlainer Platform. They must be downloaded and installed before installing XPlainer.

·  The Eclipse driver used in this build is eclipse-SDK-3.2-linux-gtk.tar.gz. You can find a suitable driver for your platform at here

·  The EMF driver used in this build is emf-sdo-xsd-SDK-2.2.0.zip

·  The GEF driver used in this build is GEF-SDK-3.2.zip

·  Java EMF Model Runtime driver used in this build is JEM-SDK-1.2.zip

·  The WTP Tools Platform Project is WTP 1.5

  1. Unzip the Eclipse driver and the above prerequisites projects into a directory, we called it EclipseDirectory, e.g. C:\Eclipse
  2. XPlainer-Eclipse is distributed with Eclipse License, to download XPlainer-Eclipse, you must agree with this license accompanying with the program. XPlainer-Eclipse can be found here.
  3. Unzip XPlainer.zip to your EclipseDirectory.
  4. The XPlainer jars are compiled by Java 1.5.0, so Eclipse must be started by Java 1.5.0 runtime.
  5. Click “Window”-> “Open Perspective”-> “Other”. You will see a menu with all perspectives, choose “XPlainer” and then click OK.
  6. Before you try our XPath debugging platform, you need a sample XML file. 
  7. Then you need to create a simple project with Eclipse for your XML file as follows:

·        Click “File” -> “New” -> “Project” -> “Simple” -> “project”. When the “New Project” Dialog page appears choose a name for your project. After that, deselect “Use Default”, browse to the directory that contains your XML file, and click OK. You will now have a simple project for your XML file.

  1. Open your XML file by right clicking on it and choose "Open With XPlainer XML Editor". Do not double click the XML file to open it because XPlainer XML editor is not the default editor for XML files.
  2. Now you can input an XPath expression and get the visual explanation in the XML editor.