parsing this page. http://ec.europa.eu/food/plant/propagation/catalogues/comcat_agri_2008/
tnf = new TagNameFilter(); tnf.setName("PRE"); nl = parser.parse(tnf); for(int i =0; i < nl.size(); i++) { String test= nl.elementAt(i).toPlainTextString(); }
paser finds all PRE tags i.e. nl.size = 3 test = "" ?? this works for any other tag, is this a bug ?
Log in to post a comment.
parsing this page.
http://ec.europa.eu/food/plant/propagation/catalogues/comcat_agri_2008/
tnf = new TagNameFilter();
tnf.setName("PRE");
nl = parser.parse(tnf);
for(int i =0; i < nl.size(); i++)
{
String test= nl.elementAt(i).toPlainTextString();
}
paser finds all PRE tags i.e. nl.size = 3
test = "" ??
this works for any other tag, is this a bug ?