Xpath Command: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:


<code>xpath</code> is available on Mac.
<code>xpath</code> is available on Mac.
=XPath Syntax=
{{Internal|XPath#Syntax|XPath Syntax}}


=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>

Latest revision as of 01:48, 1 July 2021