## DuXML

XML tools

View Source Duik_api_fordoc.jsxinc, line 8889

# Methods

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

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'.

View Source Duik_api_fordoc.jsxinc, line 8899

Returns:
The value or an Array of values
Type: `Array.<any>` | `any`