mlreportgen.dom.TemplateText Class
Namespace: mlreportgen.dom
Markup text from a document template
Description
Use an object of the mlreportgen.dom.TemplateText class to create a Document Object Model (DOM) representation of the XML markup read from
the template of the document 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
Methods
Examples
Tips
To learn how to examine the source or updated template file directly, see Open Template Files.
Version History
Introduced in R2014b

