xml

This type represents an XML Object in BoxLang

Xml Methods

childPos(childname=[string], n=[integer])

Gets the position of a child element within an XML document object.

The position, in an XmlChildren array, of the Nth child that has the specified name.

Arguments:

getNodeType()

Get XML values according to given xPath query

keyExists(key=[any])

Tests whether a key exists in a struct and returns a boolean value

Arguments:

search(xpath=[String], params=[Struct])

Get XML values according to given xPath query

Arguments:

transform(XSL=[String], parameters=[Struct])

Get XML values according to given xPath query

Arguments:

Examples

Last updated

Was this helpful?