Re: SAX-J and the DPH (DJH?)

David Carter (dcarter@lab.com)
Tue, 30 Dec 1997 17:03:41 -0500


>The fun starts for the D⟨H when including the markup in the
>SED command is not an option due to the hierarchical sensitivity of
>the task. e.g. just telephone numbers occuring within
>the appendix elements and skipping those where the client attribute
>has the value = "Jones". That sort of thing.
>
>Maybe nothing short of a fully blown XML parser will do for these
>situations?

Actually the example you give is pretty easy to do in perl. I would presume
a wide diffused line, though, dividing tasks which require "a fully blown
XML parser" and those which can be dispatched by humbler means, and I do
think it's an interesting distinction to study.

-dc