eeue56/elm-xml/2.0.0

NOTE: this package is not compatible with Elm 0.19.1

Xml

The main data structure along with some trivial helpers.

type Value
= Tag String (Dict String Value) Value
| StrNode String
| IntNode Int
| FloatNode Float
| BoolNode Bool
| Object (List Value)
| DocType String (Dict String Value)

Representation of the XML tree

foldl : (Value -> a -> a) -> a -> Value -> a

Standard foldl

map : (Value -> Value) -> Value -> Value
Standard mapping of a value to another value