Craig,

One can (easily?) convert a DOM tree into a SAX event stream but
that's not what I had meant. I meant writing a new tool leveraging the DOM
api to perform rule based XML processing a la commons-digester.

Has anyone given that some thought?

At 09:27 11.10.2002 -0700, Craig R. McClanahan wrote:

>On Fri, 11 Oct 2002, Ceki Gülcü wrote:
>
> > Date: Fri, 11 Oct 2002 18:21:09 +0200
> > From: Ceki Gülcü <[EMAIL PROTECTED]>
> > Reply-To: Jakarta Commons Developers List <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: DOM-based Digester?
> >
> >
> > Has anyone thought of implementing Digester type functionality using the
> > DOM API?
> >
>
>I've never needed that, but in principle it sounds feasible -- all you'd
>need is something to convert the DOM into a stream of SAX events and you
>could reuse all the existing machinery.  I'm sure that problem has been
>solved by somebody before.
>
> >
> > --
> > Ceki
>
>Craig

--
Ceki

TCP implementations will follow a general principle of robustness: be
conservative in what you do, be liberal in what you accept from
others. -- Jon Postel, RFC 793



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to