XmlNode (open)
Syntax
LOADLIB "wh::xml/dom.whlib";
OBJECTTYPE XmlNode
Properties
- PROPERTY appliedstyles
- PROPERTY attributes
- PROPERTY ATTRIBUTE_NODE
- PROPERTY CDATA_SECTION_NODE
- PROPERTY childElementCount
- PROPERTY childnodes
- PROPERTY COMMENT_NODE
- PROPERTY DOCUMENT_FRAGMENT_NODE
- PROPERTY DOCUMENT_NODE
- PROPERTY DOCUMENT_TYPE_NODE
- PROPERTY ELEMENT_NODE
- PROPERTY ENTITY_NODE
- PROPERTY ENTITY_REFERENCE_NODE
- PROPERTY firstchild
- PROPERTY firstElementChild
- PROPERTY innerhtml
- PROPERTY innerxml
- PROPERTY lastchild
- PROPERTY lastElementChild
- PROPERTY linenum
- PROPERTY localname
- PROPERTY namespaceuri
- PROPERTY nextElementSibling
- PROPERTY nextsibling
- PROPERTY nodeid
- PROPERTY nodename
- PROPERTY nodetype
- PROPERTY nodevalue
- PROPERTY NOTATION_NODE
- PROPERTY outerhtml
- PROPERTY outerxml
- PROPERTY ownerdocument
- PROPERTY parentnode
- PROPERTY prefix
- PROPERTY previousElementSibling
- PROPERTY previoussibling
- PROPERTY PROCESSING_INSTRUCTION_NODE
- PROPERTY textcontent
Concatenate all text and cdata children from this element and its children
- PROPERTY TEXT_NODE
- PROPERTY userdata
Functions
- OBJECT FUNCTION AppendChild(OBJECT newchild)
- MACRO AppendText(STRING text, STRING injectwhere)
http://mootools.net/core/docs/1.5.1/Element/Element#Element:appendText
- OBJECT FUNCTION CloneNode(BOOLEAN deep)
- OBJECT FUNCTION Dispose()
- OBJECT FUNCTION Empty()
Remove all our children
- OBJECT FUNCTION GetElement(STRING selectors)
- OBJECT ARRAY FUNCTION GetElements(STRING selectors)
- STRING FUNCTION GetStyle(STRING style)
- RECORD ARRAY FUNCTION GetStyles()
- RECORD ARRAY FUNCTION GetVisibleNamespaces()
Get a list of visible namespaces
- BOOLEAN FUNCTION HasAttributes()
- BOOLEAN FUNCTION HasChildNodes()
- OBJECT FUNCTION Inject(OBJECT el, STRING injectwhere)
Inject this node
- OBJECT FUNCTION InsertBefore(OBJECT newchild, OBJECT refchild)
- BOOLEAN FUNCTION IsSameNode(OBJECT other)
- RECORD ARRAY FUNCTION ListAttributes()
List attributes on a node
- STRING FUNCTION LookupNamespaceURI(STRING prefix)
- RECORD FUNCTION LookupQualifiedName(STRING qname)
Resolve a full name from a qualified name
- MACRO Normalize()
- OBJECT FUNCTION QuerySelector(STRING selectors)
- OBJECT FUNCTION QuerySelectorAll(STRING selectors)
- MACRO Remove()
Remove the current node from its parent
- OBJECT FUNCTION RemoveChild(OBJECT oldchild)
- OBJECT FUNCTION ReplaceChild(OBJECT newchild, OBJECT oldchild)