xmllint unknown option '--xpath'

前端 未结 4 1749
夕颜
夕颜 2020-12-10 11:01

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 x

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-10 11:18

    Ah, yep, must've been an issue with an outdated version of libxml2.

    Updating libxml2 (to v2.7.8) via macports seems to have fixed the problem.

提交回复
热议问题