public String stringAttribute(String name, String defaultValue) {
        if ( ! xml.hasAttribute(name)) return defaultValue;
        return xml.getAttribute(name);
    }
Returns the content of the attribute with the given name, or the default value if none
config-model/src/main/java/com/yahoo/vespa/model/builder/xml/dom/ModelElement.java