doc.setPrettyPrintMode(true);
  public static void main (String[] argv) {    InverseSax doc = new InverseSax();    doc.addElement("bla.bla");    doc.addAttribute("type", "bl<a>h");    doc.addAttribute("bla.id", "sc&um");    doc.addText("SomeText");    for (int i = 0; i < 5; i++) {      doc.addElement("yargh");      doc.addAttribute("value", "high");      doc.addText("<" + i + ">");      doc.endElement();    }    doc.endElement();    System.out.println(doc.toString());    System.out.println();    try {      Element elt = XmlUtils.parse(doc.toString());      recursivePrint(elt);    }    catch (Exception bugger_off) { }  }