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 AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Exception message "-1"
- Date: Tue, 24 May 2005 20:16:32 +0200
John Cowan wrote:
Luca Passani scripsit:I have a subclass of NodeFactory. I want to turn this:
http://www.virgilio.it/home/index.html
No problem running TagSoup standalone on this.
<div>
<a href="kk">text</a>
</div>
into:
<a href="kk">text</a><br/>
using XOM NodeFactory and finishMaking Element()
public Nodes finishMakingElement(Element element) {
:
if (element.getLocalName().equalsIgnoreCase("div") ) { :
if ( child instanceof Element &&
((Element)child).getLocalName().equalsIgnoreCase("a")) {
child.detach();
nds.append(child);
nds.append(br);
previous_tag = "br";
return nds;
}
Thanks
Luca
-
[XOM-interest] Exception message "-1",
Luca Passani, 05/24/2005
- Re: [XOM-interest] Exception message "-1", Wolfgang Hoschek, 05/24/2005
-
Re: [XOM-interest] Exception message "-1",
Elliotte Harold, 05/24/2005
- Re: [XOM-interest] Exception message "-1", John Cowan, 05/24/2005
-
Re: [XOM-interest] Exception message "-1",
Luca Passani, 05/24/2005
-
Re: [XOM-interest] Exception message "-1",
John Cowan, 05/24/2005
- Re: [XOM-interest] Exception message "-1", Luca Passani, 05/24/2005
-
Re: [XOM-interest] Exception message "-1",
Elliotte Harold, 05/24/2005
-
Message not available
-
Message not available
-
Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: [XOM-interest] Exception message "-1", Elliotte Harold, 05/25/2005
-
Message not available
-
Message not available
-
Message not available
-
Re: [XOM-interest] Exception message "-1",
John Cowan, 05/24/2005
- <Possible follow-up(s)>
-
Re: [XOM-interest] Exception message "-1",
John Cowan, 05/25/2005
- Re: [XOM-interest] Exception message "-1", Elliotte Harold, 05/25/2005
-
Re: [XOM-interest] Exception message "-1",
Wolfgang Hoschek, 05/25/2005
-
Re: [XOM-interest] Exception message "-1",
John Cowan, 05/25/2005
- Re: [XOM-interest] Exception message "-1", Wolfgang Hoschek, 05/25/2005
-
Re: [XOM-interest] Exception message "-1",
Steve Loughran, 05/26/2005
-
Re: [XOM-interest] Exception message "-1",
Wolfgang Hoschek, 05/26/2005
- Re: [XOM-interest] Exception message "-1", Elliotte Harold, 05/26/2005
-
Re: [XOM-interest] Exception message "-1",
Wolfgang Hoschek, 05/26/2005
-
Re: [XOM-interest] Exception message "-1",
John Cowan, 05/25/2005
Archive powered by MHonArc 2.6.24.