Y.XmlText
Extends Y.Text to represent a Y.Xml node.
API
Inherits from Y.Text.
const yxmlText = Y.XmlText()
yxmlText.prevSibling: Y.XmlElement | Y.XmlText | null
The previous sibling of this type. Is null if this is the first child of its parent.
yxmlText.nextSibling: Y.XmlElement | Y.XmlText | null
The next sibling of this type. Is null if this is the last child of its parent.
yxmlText.toString(): string
Returns the XML-String representation of this element. Formatting attributes are transformed to XML-tags. If the formatting attribute contains an object, the key-value pairs will be used as attributes. E.g.
Last updated