def printHTML(root: HElement, _=None): w = _HWriter() HToolkit_Write_HTML.writeHTML(root, w) print(w)
def toHTMLDocStr(root: HElement, _=None) -> str: w = _HWriter() HToolkit_Write_HTML.writeHTMLDoc(root, w) return str(w)
def printDump(root: HElement, _=None): w = _HWriter() HToolkit_Write_Dump.writeDump(root, w) print(w)
def toDumpStr(root: HElement, _=None) -> str: w = _HWriter() HToolkit_Write_Dump.writeDump(root, w) return str(w)
def printXML(root: HElement, xmlWriteSettings: XMLWriteSettings): w = _HWriter() HToolkit_Write_XML.writeXML(root, w, xmlWriteSettings) print(w)
def toXMLStr(root: HElement, xmlWriteSettings: XMLWriteSettings) -> str: w = _HWriter() HToolkit_Write_XML.writeXML(root, w, xmlWriteSettings) return str(w)