XPath: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 23: Line 23:
{{External|https://www.baeldung.com/java-xpath}}
{{External|https://www.baeldung.com/java-xpath}}
=Syntax=
=Syntax=
//element-name/element-name[index]/element-name[@attribute-name="value"]

Revision as of 01:51, 1 July 2021

External

Internal

Overview

XPath is a specification language that allows specifying parts of an XML structure. It is part of XSL. An XPath expression can be thought as an address of a part of an XML document.

NEXT: https://docs.oracle.com/javase/tutorial/jaxp/xslt/xpath.html

Command Line Tooling

Java Support

https://www.baeldung.com/java-xpath

Syntax

//element-name/element-name[index]/element-name[@attribute-name="value"]