public class XmlTreeBuilder extends TreeBuilder
XmlTreeBuilder
when you want to parse XML without any of the HTML DOM rules being applied to the document.
Usage example: Document xmlDoc = Jsoup.parse(html, baseUrl, Parser.xmlParser());
baseUri, doc, stack
Constructor and Description |
---|
XmlTreeBuilder() |
Modifier and Type | Method and Description |
---|---|
protected void |
initialiseParse(String input, String baseUri, com.itextpdf.html2pdf.jsoup.parser.ParseErrorList errors) |
protected boolean |
process(com.itextpdf.html2pdf.jsoup.parser.Token token) |
currentElement, processEndTag, processStartTag, processStartTag, runParser
Copyright © 1998–2019 iText Group NV. All rights reserved.