/wro4j-extensions/src/main/java/ro/isdc/wro/extensions/support/lint/ReportXmlFormatter.java
final Element fileElement = getDocument( ).createElement( ATTR_SEVERITY) ;
final Element fileElement = getDocument ( ) .createElement ( ELEMENT_FILE ) ;
getDocument().appendChild(rootElement); for (final ResourceLintReport<LintItem> resourceErrors : getLintReport().getReports()) { rootElement.appendChild(createFileElement(resourceErrors)); } } private Node createFileElement(final ResourceLintReport<LintItem> resourceErrors) { <extra_id_0> fileElement.setAttribute(ATTR_NAME, resourceErrors.getResourcePath()); for (final LintItem error : resourceErrors.getLints()) { fileElement.appendChild(createIssueElement(error)); } return fileElement; }