Class gxe.xml.XmlDocument
A target XML document.
Defined in: gxe.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
the editor context
|
|
the namespaces associated with the document
|
|
the root element for the document
|
Method Attributes | Method Name and Description |
---|---|
initializeRoot(context, cfgDefinition)
Initializes the root element and XML namespaces.
|
Field Detail
{gxe.Context}
context
the editor context
{gxe.xml.XmlNamespaces}
namespaces
the namespaces associated with the document
{gxe.xml.XmlElement}
rootElement
the root element for the document
Method Detail
{gxe.xml.XmlElement}
initializeRoot(context, cfgDefinition)
Initializes the root element and XML namespaces.
- Parameters:
- {gxe.Context} context
- the editor context
- {Object} cfgDefinition
- the configured editor definition (JSON)
- Returns:
- {gxe.xml.XmlElement} the root element for the document