> -----Original Message-----
> From: Ceki Gülcü [mailto:[EMAIL PROTECTED]]
> 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:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> 


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

Reply via email to