writer.write("<?xml version=\"1.0\"?>"); writer.write("<ROOT-ELEMENT>");
writer.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"); writer.write("<ROOT-ELEMENT>");
	public void generateXML(Writer writer) throws IOException {		writer.write("<?xml version=\"1.0\"?>");		writer.write("<ROOT-ELEMENT>");        		for(int i = 0; i < elementCnt; i++) {			writeElement(writer, 0);		}				writer.write("</ROOT-ELEMENT>");	}