pw.print("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
pw.print("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"+ (prettyPrint ? "\n": ""));
   public void startDocument ()   {      childcounter =HAS_CONTENT;      pw.print("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");      state = STATE_TAG;   }