xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] filtering processing instructions
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] filtering processing instructions
- Date: Mon, 17 Sep 2007 21:25:46 -0400
Benson Margulies wrote:
I'm using the Builder, and I set out to do a bit of filtering to avoid
problems with bad processing instructions. However, the builder insists
that the content handler be an instance of XOMHandler.
Filters in XOM are implemented as NodeFactories, not handlers. Subclass NodeFactory and override makeProcessingInstruction() so it returns an empty list.
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
-
[XOM-interest] filtering processing instructions,
Benson Margulies, 09/17/2007
- Re: [XOM-interest] filtering processing instructions, Elliotte Harold, 09/17/2007
-
Re: [XOM-interest] filtering processing instructions,
Benson Margulies, 09/18/2007
-
Re: [XOM-interest] filtering processing instructions,
Elliotte Harold, 09/21/2007
- Re: [XOM-interest] filtering processing instructions, Benson Margulies, 09/21/2007
-
Re: [XOM-interest] filtering processing instructions,
Elliotte Harold, 09/21/2007
- <Possible follow-up(s)>
-
Re: [XOM-interest] filtering processing instructions,
Tatu Saloranta, 09/19/2007
-
Re: [XOM-interest] filtering processing instructions,
Benson Margulies, 09/19/2007
- Re: [XOM-interest] filtering processing instructions, Elliotte Harold, 09/19/2007
-
Re: [XOM-interest] filtering processing instructions,
Benson Margulies, 09/19/2007
- Re: [XOM-interest] filtering processing instructions, Tatu Saloranta, 09/19/2007
Archive powered by MHonArc 2.6.24.