[Home] [By Thread] [By Date] [Recent Entries]

  • From: John Cowan <cowan@m...>
  • To: Liam R E Quin <liam@w...>
  • Date: Mon, 2 Jul 2012 18:39:13 -0400

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                    cowan@c...
Difference which hath happened                  http://www.ccil.org/~cowan
betwixt us.     --Thomas Fuller, Appeal to Injured Innocence (1659)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member