Creates an ImportedRootElementAttributes component.
The attributes object to pass through
Internal
The components written in this one's place, one after another, when it can't be written as a single element, such as a run with another run in its children. Undefined when it is written as itself.
Adds a child element to this component.
The child component or text string to add
This component (for chaining)
Prepares the attributes for XML serialization.
Context (unused)
Object with _attr key containing the raw attributes
Represents attributes for imported root elements.
This class is used internally to handle attributes on root elements that are being imported from external XML. It passes through the attributes without transformation.
Example