Module: xml
readXml
Back to Indextext |> [XmlNode]
Parses an input text of XML into an XmlNode iterator that can be used to reduce the input data into another value.
To simplify reading of XML nodes, refer to these filters/functions:
Availability
Discount | Rule | Reactor |
---|---|---|
Examples
import 'xml'
from '<doc><product><id>1</id></product><product><id>2</id></product></doc>' readXml whereElement('product') select product => { id = product whereElement('id') first getText }
// Returns:[{ id = '1'},{ id = '2'}]