code: public Document createDOM(DocumentBuilder documentBuilder, TagNode rootNode) throws ParserConfigurationException
      {
          Document document = createDocument(documentBuilder, rootNode);
  
          createSubnodes(document, document.getDocumentElement(), rootNode.getAllChildren());
  
          return document;
      }
docs: Create the DOM given a rootNode and a document builder.
  This method is a replica of {@link DomSerializer#createDOM(TagNode)} excepts that it requires to give a
  DocumentBuilder.
  @param documentBuilder the {@link DocumentBuilder} instance to use, DocumentBuilder is not guaranteed to
  be thread safe so at most the safe instance should be used only in the same thread
  @param rootNode the HTML Cleaner root node to serialize
  @return the W3C Document object
  @throws ParserConfigurationException if there's an error during serialization