Xpath Command: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 8: Line 8:


=Usage=
=Usage=
=Query a Path=
<syntaxhighlight lang='bash'>
xpath ./my-file.xml project
xpath ./my-file.xml project/component
xpath ./my-file.xml project/component/option
</syntaxhighlight>

Revision as of 01:35, 1 July 2021

External

Internal

Overview

xpath is available on Mac.

Usage

Query a Path

xpath ./my-file.xml project
xpath ./my-file.xml project/component
xpath ./my-file.xml project/component/option