if ((itag != null) && (itag.getAttribute("value") != null) )
{ inputVal.append(" "); inputVal.append( itag.getAttribute("value") ); }
}
//*-- finally set the contents of the document
doc.setContents( new StringBuffer(cleanHTML( st.extractStrings(false)) + " " + inputVal) );
doc.setFileName(ifile);
} //*-- end of try block
catch (OutOfMemoryError exc)
{ logger.error("Ran out of memory for " + ifile + " or could be corrupt file " + exc.getMessage()); }