eeue56/elm-xml/1.0.0

NOTE: this package is not compatible with Elm 0.19.1

Xml.Encode

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

encode : Int -> Value -> String

Take a value, then generate a string from it

string : String -> Value

Encode an XML string

int : Int -> Value

Encode an int

float : Float -> Value

Encode an int

bool : Bool -> Value

Encode an int

object : List ( String, Dict String Value, Value ) -> Value

Encode an "object" (a tag)

null : Value

Empty contents