Skip to main content
Version: 25.2

documentTreeFromHTML, documentTreeFromXML

  • functions (in STTreeNode.xmodule)
  • new in 1.38
  • The documentTreeFromXML() and documentTreeFromHTML() functions convert XML or HTML text to a "Document" type tree that will generate a full XML document when converted to text.
  • The documentTreeFromXML function can also be called using the syntax “value as a document”.
  • Related: treeFromHTML, treeFromXML