Xpath Command: Difference between revisions
Jump to navigation
Jump to search
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= |
Revision as of 01:48, 1 July 2021
External
- https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/NSXML_Concepts/Articles/QueryingXML.html
- https://scriptingosx.com/2020/10/dealing-with-xpath-changes-in-big-sur/
Internal
Overview
xpath
is available on Mac.
XPath Syntax
Usage
Query a Path
xpath ./my-file.xml project
xpath ./my-file.xml project/component
xpath ./my-file.xml project/component/option