Is it possible using XMLStarlet + an XPath specification to extract a single node from an index.plist file (like the attached)?
A single node xxxx is contained between:
<key>xxxx</key>
<dict>
................
</dict>
Thanks!
p.s. background - index.plist is the way Void Linux produces it's repo database and I want to produce a Void equivalent of /var/packages/woof-installed-packages
p.p.s XMLStarlet can be downloaded via pkgs.org - I'm using the Void download