[jdom-interest] How do I use an own content handler?

Jason Hunter jhunter at collab.net
Mon Jan 15 09:49:46 PST 2001


You can add a filter to the SAXBuilder to strip whitespace.  If you read
the TODO you'll see I plan on writing such a filter.  Sounds like you
may get to implement it first, and if so please donate the code so
others can use it.

-jh-

Kai Runte wrote:
> 
> Hello,
> 
> I tried out some XML-APIs and was very pleased to find JDOM, but one thing
> I am missing: Is it possible to add an own content handler without big
> effort? My problem is: I need a parsed XML-Tree without any of these
> annoying ignorable whitespaces...
> 
> TIA
>         Kai
> 
> __
> Real cats don't need names.
> But they often get called them.
> "Yaargeroffoutofityarbastard" does nicely.
>         Terry Pratchett - The Unadulterated Cat
> 
> *********************************************************************
> * email: krunte at ebi.ac.uk                                           *
> * (PGP signed & encrypted mail preferred)                           *
> * Look for PGP-key(s) at:                                           *
> * http://www-math.uni-paderborn.de/pgp/                             *
> *********************************************************************
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com



More information about the jdom-interest mailing list