code: private void writeHeader()
      {
          out.println("<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>");
          out.println("<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 20010904//EN\" \"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd\">");
          out.println("<!-- Rendered by CSSBox http://cssbox.sourceforge.net -->");
          out.println("<svg xmlns=\"http://www.w3.org/2000/svg\"");
          out.println("     xmlns:xlink=\"http://www.w3.org/1999/xlink\" xml:space=\"preserve\"");
          out.println("         width=\"" + rootw + "\" height=\"" + rooth + "px\"");
          out.println("         viewBox=\"0 0 " + rootw + " " + rooth + "\"");
          out.println("         zoomAndPan=\"disable\" >");
      }
docs: ====================================================================================================