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)

dessIndentIt 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
lastDetailRow attributesname

attributes()

dessIndentCalls 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)

dessIndentCalls 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()

dessIndentReturns 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()

dessIndentReturns 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)

dessIndentReturns true if there is (at least) one XML object in the list that compares equal to the valueprs

Parameters

sIndentvalue 
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
copyname

copy()

dessIndentReturns 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()

dessIndentReturns 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)

dessIndentReturns 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)

dessIndentReturns 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()

dessIndentReturns 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)

dessIndentReturns 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()

dessIndentReturns 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()

dessIndentReturns the number of XML objects this XMLList contains.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
normalizename

normalize()

dessIndentReturns 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()

dessIndentReturns 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()

dessIndentReturns 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)

dessIndentReturns 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)

dessIndentReturns 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()

dessIndentReturns 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()

dessIndentReturns a string representation of the XMLListret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
toXMLStringname

toXMLString()

dessIndentReturns 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()

dessIndentSimply returns the XMLList object it is called on.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow