DuAEF.DuXML

ScriptUI tools

Methods

static getValue(xml, typeopt) → {Array.<Object>|Object}

Parses the value of the XML object If this object length is not 1, an Array is returned
Parameters:
Name Type Attributes Default Description
xml XML The xml to parse
type string <optional>
'string' The type, one of 'string', 'bool', 'int', 'float' or 'date'.
Returns:
Array.<Object> | Object - The value or an Array of values