The DomDocument class / om.DomDocument methods |
Create a new entity node in the DOM document.
createEntity( name STRING ) RETURNING result om.DomNode
Use the method createEntity() to create a new om.DomNode entity node. The entity name must be passed as parameter.
The text representation of a entity node is &name;.
The new created node will have the reserved tagName "@entity" , with a single attribute named "@entity" containing the text of the entity.
To hold the reference to the new node, define a variable with the type om.DomNode type.
DEFINE n om.DomNode LET n = mydoc.createEntity("quot")