commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <martin.coo...@tumbleweed.com>
Subject RE: DOM-based Digester?
Date Fri, 11 Oct 2002 17:45:10 GMT


> -----Original Message-----
> From: Ceki Gülcü [mailto:ceki@qos.ch]
> Sent: Friday, October 11, 2002 9:47 AM
> To: Jakarta Commons Developers List
> Subject: Re: DOM-based Digester?
> 
> 
> 
> At 00:37 12.10.2002 +0800, John Yu wrote:
> >At 12:21 am 12-10-2002, you wrote:
> >
> >>Has anyone thought of implementing Digester type 
> functionality using the 
> >>DOM API?
> >
> >Just curious: why does one need that?
> 
> Because rule based processing is useful regardless of whether 
> SAX or DOM is 
> being used. One objective advantage is that you can add new rules 
> dynamically. You cannot do that with compiled Java.

I may be missing the point here, but you can define your Digester rules in
an XML file, using the Digester's XML Rules package. See:

http://jakarta.apache.org/commons/digester/api/org/apache/commons/digester/x
mlrules/package-summary.html

--
Martin Cooper


> 
> >--
> >John Yu
> 
> --
> 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>
> 
> 


--
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