Package: XML

Methods

append

method append(arg0 as xmlstring, arg1 as string)

Appends a string to an XML string.

getAttribute

function getAttribute(arg0 as xmlelement, arg1 as string) as string

Returns the value of an attribute of an XML element as a string or null.

getElements

function getElements(arg0 as xmlelement, arg1 as string) as list of xmlelement

Returns a list of XML elements that are children of an XML element.

getFirstElement

function getFirstElement(arg0 as xmlelement, arg1 as string) as xmlelement

Returns the first XML element that is a child of an XML element.

getParentElement

function getParentElement(arg0 as xmlelement) as xmlelement

Returns the parent XML element of an XML element.

getRootElement

function getRootElement(arg0 as xmldocument) as xmlelement

Returns the root XML element of an XML document.

getText

function getText(arg0 as xmlelement) as string

Returns the text content of an XML element.

hasElement

function hasElement(arg0 as xmlelement, arg1 as string) as bool

Returns true if the target XML element contains the specified search XML element.

open

function open(arg0 as int) as xmldocument

Returns an XML document with the specified storageFileKey.

openAtVersion

function openAtVersion(arg0 as int, arg1 as int) as xmldocument

Returns an XML document with the specified storageFileKey and storageVersion.

xmlStringToText

function xmlStringToText(arg0 as xmlstring) as string

Returns the text content of an XML string.