xml = xml.substring(0, xml.indexOf("</community>")); xml += "<remoteNode>" + nodeId.getAddress() + "</remoteNode></community>"; String html = getHTMLFromXML(xml, "communityStatus.xsl");
String html = getHead(robustnessCommunity, style, statusScript) + getStatusBody(robustnessCommunity) + "</html>";
    private void showCommunityData(String format, String community)    {      String xml = displayStatus(community);      if(xml == null) {        writeNullResult();        return;      }      currentCommunityXML = xml;      if(format.equals("xml"))        out.write(xml);      else      {        xml = xml.substring(0, xml.indexOf("</community>"));        xml += "<remoteNode>" + nodeId.getAddress() + "</remoteNode></community>";        String html = getHTMLFromXML(xml, "communityStatus.xsl");        out.print(html);      }    }