if else statement

view story

http://stackoverflow.com – I have a code with several if/else statements. However, whenever an 'else' case is thrown, all of the subsequent statements result in 'else' too. Here's the code, i'd appreciate some help please! public List<Integer> htmlHelper(String arg) throws IOException, XPatherException, ParserConfigurationException, XPathExpressionException { CleanerProperties props = new CleanerProperties(); props.setTranslateSpecialEntities(true); props.setTransResCharsToNCR(true); props.setOmitComments(true); HtmlCleaner cleaner = new HtmlCleaner(props); rootNode = cl (HowTos)