Re: [dom4j-dev] Re: Code for parsing large documents

2001-05-18 Thread James Strachan
Hi David From: "David White" <[EMAIL PROTECTED]> > Yep, that's why I think this stuff is so cool! Me too! :-) > Now, if we could only implement more powerful XPath expression to register > handlers with (i.e. parser.addHandler("//a[@href]", new myLinkHandler()); > :^) Now your talking!!! :-)

[dom4j-dev] Re: Code for parsing large documents

2001-05-18 Thread James Strachan
Hi Dave This all looks awesome! (Still got problems posting to the list?) We should do some JUnit test cases or sample programs to demonstrate this stuff too... :-) From: "David White" <[EMAIL PROTECTED]> > How about this: > > private void initDispatchMode() { > if (dispatchHandler

Re: [dom4j-dev] Re: Code for parsing large documents

2001-05-18 Thread James Strachan
Hi Dave > It just occurred to me that it might be more powerfull/flexible > if the DispatchHandler doesn't automatically prune the tree > for any element which has a ElementHandler registered, but > rather leave it up to the ElementHandler itself to either > prune the tree or not. I was just thi

[dom4j-dev] Re: Code for parsing large documents

2001-05-18 Thread James Strachan
Hi Dave From: "David White" <[EMAIL PROTECTED]> > > Shall we go for the following? > > > > public interface ElementHandler { > > public void onStart( ElementPath path ); > > public void onEnd( ElementPath path ); > > } > > > > That's what I have and I changed ElementStack to implement Ele

[dom4j-dev] Re: Code for parsing large documents

2001-05-18 Thread James Strachan
Hi Dave! From: "David White" <[EMAIL PROTECTED]> > Is there a problem with the mailing list??? > > I just tried to send the following message to it a couple of times and it > bounced back to me. Maybe it's me, I don't know... I've cc'd the list just to check. Maybe its the attachments on your o