Function
Initialize with an XML element or a tag name
This class represents an XML element.
An XML element or a tag name
Function
A property name
Return a property value
If 'property' starts with '@', the attribute value is returned. If 'property' specifies "text()", the value of the first child text is returned. Otherwise, child elements of the tag name specified with 'property' are returned.
A property value
undefined|String||Array||XmlElement
Function
A property name
A property value
Store a property value
If 'property' starts with '@', 'value' is set to the attribute. If 'property' specifies "text()", 'value' is set as the first child text. If 'value' is a string, a child element of the tag name specified with 'property' is created and 'value' is set as the first child text of the child element. Otherwise, 'value' is set to as child elements.
undefined
Function
Return a value of the first text child of the element
A value of the first text child of the element is returned.
A value of the first text child of the element
String
Function
Return an object representation of the element
An object with properties for child elements, attributes and text is returned.
An object representation of the element
null|String|Object
Function
Return a DOM document
If 'element' is specified, a DOM document of the element is returned. Otherwise, a DOM document is created.
A DOM document
Document
An
XML element or a tag name
Function
A string to specify an object and its property
An optional arguments array
Return a value
This method obtains an object by an ID of a widget or an DOM element. If 'source' specifies a dotted notation to its property, a Wire is used to get the object property. If 'source' starts with "arguments", 'args' is used as a root object for the Wire.
A value
undefined|Object|anything
Function
A string to specify an object and its property
A value
Store a value
This method stores a value by an ID of a widget or an DOM element with a dotted notation to its property, using a Wire.
undefined
Object
Object
Object
Object