Implemented By

Supported Methods

Description of Methods

GetNamedElements(name As String) As Object

Returns a new XMLList that contains all roXMLElements that matched the passed in name. This is the same as using the dot operator on an roXMLList. 

GetNamedElementsCi(name As String) As Object

Similar to GetNamedElements(), but uses case-insensitive matching.

Simplify() As Object

If the list contains exactly one item, Simplify() returns that item.  Otherwise, it returns itself

GetAttributes() As Object

If the list contains exactly one item, GetAttributes() returns the attributes of that item.  Otherwise it returns invalid.

GetText() As String

If the list contains exactly one item, GetText() returns the text of that item.  Otherwise it returns an empty string.

GetChildElements() As Object

If the list contains exactly one item, GetChildElements() returns the child elements of that item.  Otherwise it returns invalid.

Note that GetChildElements does NOT return the items contained in the roXMLList.  Use ifList functions to access those items.