xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Luca Passani <passani AT eunet.no>
- To: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: [XOM-interest] NodeFactory and entities
- Date: Sat, 14 May 2005 15:59:56 +0200
Hello,
is there a way to trap entities with NodeFactory?
I am using NodeFactory in conbibation with tagsoup and ' ' turns up as a funny
(probably binary) character when I re-render the document out of its object model: Â
I tried this:
public Nodes makeText(String data) {
if (data.indexOf(" ") != -1) {
String data1 = data.substring(0,data.indexOf(" "));
String data2 = data.substring(data.indexOf(" ")+6);
return super.makeText(data1+" "+data2); }
but it's not working for me.
Thanks
Luca
-
[XOM-interest] NodeFactory and entities,
Luca Passani, 05/14/2005
- Re: [XOM-interest] NodeFactory and entities, Elliotte Harold, 05/15/2005
-
Re: [XOM-interest] NodeFactory and entities,
adamc, 05/15/2005
- Re: [XOM-interest] NodeFactory and entities, Luca Passani, 05/16/2005
Archive powered by MHonArc 2.6.24.