Xpath Command
Jump to navigation
Jump to search
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