private XMLWriter indent() {
        for (int i=0; i<openTags.size() && i<maxIndentLevel; i++) {
            w(INDENT);
        }
        return this;
    }
Writes the first line of an XML file
vespajlib/src/main/java/com/yahoo/text/XMLWriter.java