[jdom-interest] JDOM and text outside tags

Jacques-Albert De Blasio jacquesalbert.deblasio at toshiba.co.jp
Wed Oct 22 02:06:09 PDT 2003


Hi all,

I have a problem with JDOM and I am sure that one of you JDOM guru could 
help me out :)

In a program I'm writing, I first fetch HTML pages on the web, tidy them 
with NekoHTML (JTidy was not sufficient as it could not parse japanese 
html pages) and then transform the DOM outputed by NekoHTML into JDOM 
documents.

My problem is the following: in a given page, I have tags such as

<TD>
<SMALL>
<IMG src = "..." /> some_text <BR />
<IMG src =" ..." /> some_other_text <BR />
</SMALL>
</TD>

How can I fetch the "some_text" and "some_other_text" ?

Thank you very much for your help,

Jack




More information about the jdom-interest mailing list