Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-commons Wiki" 
for change notification.

The following page has been changed by SimonKitching:
http://wiki.apache.org/jakarta-commons/Digester/FAQ

The comment on the change is:
Slight tweak to recommended way of using Digester with externally-created parser

------------------------------------------------------------------------------
  // below to hook a digester instance up to that parser...
  
  Digester d = new Digester(p);
+ // add digester rules here
+ 
+ // tell the explicitly created parser to parse the input, using the
+ // digester object as the content handler.
  p.setContentHandler(d);
+ p.parse(inputDocument);
- p.setDTDHandler(d); // optional
- p.setEntityResolver(d); // optional
- 
- // add digester rules here
- d.parse(...);
  }}}
  

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

Reply via email to