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

Sean Mc Grath (digitome@iol.ie)
Wed, 31 Dec 1997 10:58:24 GMT


At 17:03 30/12/97 -0500, you wrote:
>>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.

Care to suggest a Perl implementation? I for one would find it very
instructive to see what problems/issues/patterns emerge from studying
a live example.

Sean Mc Grath
sean at digitome dot com