/wro4j-extensions/src/main/java/ro/isdc/wro/extensions/support/lint/ReportXmlFormatter.java
getDocument( ).createElement( rootElement) ;
getDocument ( ) .appendChild ( rootElement ) ;
notNull(type); this.formatterType = type; } @Override protected void buildDocument() { final Element rootElement = getDocument().createElement(formatterType.rootElementName); <extra_id_0> for (final ResourceLintReport<LintItem> resourceErrors : getLintReport().getReports()) { rootElement.appendChild(createFileElement(resourceErrors)); } } private Node createFileElement(final ResourceLintReport<LintItem> resourceErrors) { final Element fileElement = getDocument().createElement(ELEMENT_FILE);