andre-dietrich / elm-generic / Generic.Xml

decode : String -> Result String Generic.Value

A generic decoder that will translate any XML string into the Generic representation.

encode : Generic.Value -> Xml.Value

A generic encoder that will translate any generic value into an XML value.

toString : Basics.Int -> Xml.Value -> String

Will return a String representation for any kind of XML value.