Child pages
  • XMLList

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClient

servoy sSummary12%30%58%height: 30px;3Methods SummaryIt calls the method attribute of each object in this XMLList and returns the results in order in an XMLList.Calls the method attributes of each object in this XMLList and returns an XMLList with the results in order.Calls the method child of each XML object in this XMLList object to return an XMLList with the matching children in order.Returns an XMLList with the children of all XML objects in this XMLList.Returns an XMLList with all the comment child nodes of XML objects in this XMLList in order.Returns true if there is (at least) one XML object in the list that compares equal to the valueReturns a deep copy of the XMLList it is called on.Returns an XMLList with all of the matching descendants of all XML objects.Returns an XMLList with all of the matching descendants of all XML objects.Returns an XMLList with the matching element children of all XML objects in this XMLList.Returns true if the XMLList contains exactly one XML object which has complex content or if the XMLList contains several XML objects.Returns true if the XMLList object has a property of that name and false otherwise.Returns true if the XMLList is empty or contains exactly one XML object which has simple content or contains no elements at all.Returns the number of XML objects this XMLList contains.Returns the XMLList object it is called on after joining adjacent text nodes and removing empty text nodes.Returns the common parent of all XML objects in this XMLList if all those objects have the same parent.Returns an XMLList with all the matching processing instruction child nodes of all XML objects in this XMLList.Returns an XMLList with all the matching processing instruction child nodes of all XML objects in this XMLList.Returns true if the property name converted to a number is greater than or equal to 0 and less than the length of this XMLList.Returns an XMLList containing all the text child nodes of all the XML objects contained in this XMLList.Returns a string representation of the XMLListReturns the concatenation of toXMLString called on each XML object.Simply returns the XMLList object it is called on.

functionservoy sDetail2100%height:30px2Methods Detailsattributename

attribute(attributeName)

dessIndent
It calls the method attribute of each object in this XMLList and returns the results in order 
in an XMLList.
prs

Parameters

sIndentattributeName ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowattributesname

attributes()

dessIndent
Calls the method attributes of each object in this XMLList and returns an XMLList with 
the results in order.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
childname

child(propertyName)

dessIndent
Calls the method child of each XML object in this XMLList object to return an XMLList 
with the matching children in order.
prs

Parameters

sIndentpropertyName ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
childrenname

children()

dessIndent
Returns an XMLList with the children of all XML objects in this XMLList.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
commentsname

comments()

dessIndent
Returns an XMLList with all the comment child nodes of XML objects in this XMLList in order.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
containsname

contains(value)

dessIndent
Returns true if there is (at least) one XML object in the list that compares equal to the value
prs

Parameters

sIndentvalue ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
copyname

copy()

dessIndent
Returns a deep copy of the XMLList it is called on.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
descendantsname

descendants()

dessIndent
Returns an XMLList with all of the matching descendants of all XML objects.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
descendantsname

descendants(name)

dessIndent
Returns an XMLList with all of the matching descendants of all XML objects.
prs

Parameters

sIndentname ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
elementsname

elements(name)

dessIndent
Returns an XMLList with the matching element children of all XML objects in this XMLList.
prs

Parameters

sIndentname ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
hasComplexContentname

hasComplexContent()

dessIndent
Returns true if the XMLList contains exactly one XML object which has complex content or if 
the XMLList contains several XML objects.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
hasOwnPropertyname

hasOwnProperty(propertyName)

dessIndent
Returns true if the XMLList object has a property of that name and false otherwise.
prs

Parameters

sIndentpropertyName ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
hasSimpleContentname

hasSimpleContent()

dessIndent
Returns true if the XMLList is empty or contains exactly one XML object which has simple 
content or contains no elements at all.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
lengthname

length()

dessIndent
Returns the number of XML objects this XMLList contains.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
normalizename

normalize()

dessIndent
Returns the XMLList object it is called on after joining adjacent text nodes 
and removing empty text nodes.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
parentname

parent()

dessIndent
Returns the common parent of all XML objects in this XMLList if all those objects 
have the same parent.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
processingInstructionsname

processingInstructions()

dessIndent
Returns an XMLList with all the matching processing instruction child nodes of all 
XML objects in this XMLList.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
processingInstructionsname

processingInstructions(name)

dessIndent
Returns an XMLList with all the matching processing instruction child nodes of all 
XML objects in this XMLList.
prs

Parameters

sIndentname ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
propertyIsEnumerablename

propertyIsEnumerable(propertyName)

dessIndent
Returns true if the property name converted to a number is greater than or equal to 
0 and less than the length of this XMLList.
prs

Parameters

sIndentpropertyName ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
textname

text()

dessIndent
Returns an XMLList containing all the text child nodes of all the XML objects contained in this XMLList.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
toStringname

toString()

dessIndent
Returns a string representation of the XMLList
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
toXMLStringname

toXMLString()

dessIndent
Returns the concatenation of toXMLString called on each XML object. The result for each XML 
object is put on a separate line if XML.prettyPrinting is true.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
valueOfname

valueOf()

dessIndent
Simply returns the XMLList object it is called on.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow