#

API Docs for: 3.10.3
Show: Inherited Protected Private Deprecated

# XML Class

Defined in: `xml/js/xml-format.js:9`
Module: datatype-xml-format
Parent Module: datatype-xml

XML provides a set of utility functions to operate against XML documents.

- Index
- Methods

## Item Index

### Methods

- format
- parse

## Methods

### `format`

(

- `data`

)
String

Defined in `xml/js/xml-format.js:18`

Converts data to type XMLDocument.

#### Parameters:

- `data` XMLDoc

  Data to convert.

#### Returns:

String: String.

### `parse`

(

- `data`

)
XMLDoc

Provided by the datatype-xml-parse module.

Defined in `xml/js/xml-parse.js:12`

Converts data to type XMLDocument.

#### Parameters:

- `data` String

  Data to convert.

#### Returns:

XMLDoc: XML Document.