I've seen this syntax several places (eg, here):
xmllint --xpath '/plist/array/string/text()' tmp.xml
, used to query a particular XML node using an xpath selector. However, I'm getting the error Unknown option --xpath
when I try to execute this on my machine (mac os x snow leopard).
Looking more closely at the man page for xmllint, I don't see the --xpath
option documented...
Am I just totally missing something here?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…