You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

from_xml()

Usage

from_xml(source)

Description
Parses the given XML and returns a list of objects.

Example

${from_xml('<entry>0</entry>')}

results in

{children=[{children=[{children=[], type=DeferredTextImpl, name=#text, value=0}], attributes=[], type=DeferredElementImpl, name=entry}], type=DeferredDocumentImpl, name=#document}

Search results for "from_xml()"

from_xml()

Parses the given XML and returns a JSON representation of the XML which can be further processed using from_json() or JSON.parse().

from_xml(source)