Liam R E Quin scripsit:
> A more traditional Unix shell-like approach might be to use a
> stand-alone XML parser like xp or xmllint that can produce line-oriented
> output; typically this is based on the old SGML "ESIS" idea, and has a
> single character at the start of each line to indicate an event type,
> such as "open element", "attribute", "text" or whatever.
In particular: TagSoup, which parses arbitrary HTML, has a PYX output mode
of just such a form. PYX differs trivially from ESIS in that in ESIS,
attribute lines precede the start-tag line, whereas in PYX they follow.
I am not sure why Sean McGrath made this change, but I have followed him.
--
I Hope, Sir, that we are not John Cowan
mutually Un-friended by this
Difference which hath happened http://www.ccil.org/~cowan
betwixt us. --Thomas Fuller, Appeal to Injured Innocence (1659)