mlreportgen.dom.TemplateText Class
Namespace: mlreportgen.dom
Markup text from a document template
Description
A mlreportgen.dom.TemplateText
object contains XML markup read from a document's
template on opening. The object contains one of these segments of template text occurring between:
the beginning of the template and the first hole in the template
subsequent holes in the template
the last hole and the end of the template
Moving from hole to hole causes these segments of text to be embedded in
TemplateText
objects and appended to the document's list of children. This
guarantees that the template text will be included in the output document in the same order in
which it occurs in the template interspersed with the content appended at each hole.
The mlreportgen.dom.TemplateText
class is a handle
class.
Properties
Examples
Version History
Introduced in R2014b