mlreportgen.dom.DOCXSubDoc | Reference to external Microsoft Word document |
mlreportgen.dom.HTML | Use HTML markup to create DOM document |
mlreportgen.dom.HTMLFile | Convert an HTML file to a DOM document |
mlreportgen.utils.html2dom.prepHTMLFile | Prepare HTML file for conversion to DOM |
mlreportgen.utils.html2dom.prepHTMLString | Prepare HTML string for conversion to DOM |
mlreportgen.utils.tidy | Correct and clean XML and HTML content |
Convert HTML Content to a DOM Object
Add HTML content from a string or file to a report.
Prepare HTML for Conversion to a DOM Object
Fix HTML issues and resolve formatting of HTML elements before converting the HTML to a DOM object.
Requirements for Converting HTML to a DOM Object
HTML content added to a report must be XML parsable.