JetBrains Rider
 
Get JetBrains Rider
Get your hands on the new features ahead of the release by joining the Early Access Program for Rider 2025.1! Learn more

XPath expression evaluation

Last modified: 06 September 2024

An XPath expression needs evaluation to test it before using in program code or XSLT scripts or before making structured queries against XML documents.

JetBrains Rider lets you evaluate XPath expressions in two modes:

  • In the Simple mode, you can enter simple one-line expressions that don't require any customization of namespace prefixes. This mode does not let you configure Context settings or use predefined variables.

  • In the Advanced mode, you can conveniently edit long expressions in a multi-line mode and edit the XPath context.

Some error checks and XPath inspections also provide quick-fixes for detected problems, for example, the possibility to map an unresolved namespace-prefix to a URI by intention.