XML

Namespace

JXG.XML namespace holds browser independent xml parsing routines. Won't work in environments other than browsers.

Methods

Own

(static) cleanWhitespace(el)

Cleans out unneccessary whitespaces in a chunk of xml.

Parameters

Name Type Description
el Object

Details

Source
utils/xml.js, line 47

(static) parse(str) → {Object}

Converts a given string into a XML tree.

Parameters

Name Type Description
str String

Returns

The xml tree represented by the root node.

Type
Object

Details

Source
utils/xml.js, line 65

Inherited

none

Details

XML

Source
utils/xml.js, line 42