User`s guide
mlreportgen.dom.Container class
12-47
• Use a group object to append the same content in multiple places in a document
without cloning the group.
Construction
containerObj = Container() creates a container with an HTML tag name div.
containerObj = Container(HTMLtag) creates a container with the specified HTML
tag name (for example, div, section, or article).
Input Arguments
HTMLtag — HTML container tag name
string
HTML container tag name, specified as a string. The name must be an HTML element,
such as 'div', 'section', or 'article'.
Note: Word output ignores the HTML container tag.
Output Arguments
containerObj — Container of document objects
mlreportgen.dom.Container object
Container of document objects, returned as an mlreportgen.dom.Container object.
Properties
Id — ID for document element
string
A session-unique ID is generated as part of document element creation. You can specify
an ID to replace the generated ID.