xselect
reads a well-formed XML document and outputs elements that match the
CSS selector that is given as an argument. For example
xselect
selects the first li (list item in XHTML) in an ol (ordered list).
The command operates on the standard input.
Assumes that class selectors (".foo") refer to an attribute called
"class".
Assumes that ID selectors ("#foo") refer to an attribute called "id".
Print content only. Without -c, the start and end tag of the
matched element are printed as well; with -c only the contents
of the matched element are printed.
A selector. Most selectors from CSS level 3 are supported, with the
exception of pseudo-classes, pseudo-elements and selectors with
last- in their name.