commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: DOM-based Digester?
Date Fri, 11 Oct 2002 16:37:27 GMT

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ü <ceki@qos.ch>
> > Reply-To: Jakarta Commons Developers List <commons-dev@jakarta.apache.org>
> > To: commons-dev@jakarta.apache.org
> > 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:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message