Xpath Query Interface [Updated]

Content Type: Module
Categories: User Interface,Visualization,Data


Users can write their own Xpath queries to test and view metrics in the GUI/browser. This is the same as the original Xpath Query Interface with user-friendly updates and enabled for higher Mendix versions.



Back by popular demand, this, re-mastered, versatile, and silky upgrade of the original XPath Query Interface is here!

Users can write their own Xpath queries to test and view metrics in the GUI/browser. This provides object and attribute look-up using Mendix Model Reflection. And displays results of query execution including duration and number of objects retrieved. The user can execute a query multiple times to get an average duration and compare to similar queries.


  • Run Xpath queries in the GUI
  • Compare Xpath queries’ performance with each other
  • Observe duration and number objects for each query execution
  • Observe average duration for each query

Quick Start

  1. Download this module into your app
  2. Assign one of your project roles to the ‘Developer’ module role
  3. Add ‘XPathQueryInterface’ to your navigation (it’s in the USE_ME folder)
  4. Restart/Run server
  5. In the browser/GUI traverse to the XPathQueryInterface page
  6. Create a new Xpath query using the ‘Add’ button (do not include the brackets ‘[]’)
  7. Execute that query by selecting it and pressing the ‘Run’ button
  8. Observe the results in the ‘Results’ section below


  • Mendix Model Reflection

Known bugs [optional]

  • Seconds round to the nearest whole number (should be hundredths place)


Version: 3.0.0
Framework Version: 10.2.0
Release Notes: Upgrade to 10 and fix error when executing query without predicates (the stuff in brackets).
Version: 2.1.0
Framework Version: 9.24.10
Release Notes: Fix error when predicates are not used.
Version: 2.0.0
Framework Version: 9.24.10
Release Notes: Upgrade for Mendix 9
Version: 1.0.0
Framework Version: 8.18.26
Release Notes: Update for user experience changes and enable for Mendix 8.