I am looking for a good tool to perform grep-like operations on XML - for example, extract certain attributes only.
Grep
itself can't handle it - any DFA-equivalent tool can handle only non recursive matches, and mine may be recursive.
I have tried xgrep, but it is quite unstable, and I want a stable and reliable tool.
Any recommendations?
EDIT: I prefer open source tools that work well under Linux.