Class: XML

ol/format/XML~XML


Generic format for reading non-feature XML data

Methods

read(source){Object}

format/XML.js, line 20

Read the source document.

Name Type Description
source Document | Node | string

The XML source.

Returns:
An object representing the source.