This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.

ExEmElm.Encoder

This library stringifies XML data structures

document : Document -> String

Stringify an entire XML document

node : Node -> String

Stringify an individual XML node

module ExEmElm.Encoder exposing (document, node)

{-| This library stringifies XML data structures

@docs document, node
-}

import ExEmElm.Types as E exposing (Document, Node, XmlDecl, Attribute)


{-| Stringify an entire XML document
-}
document : Document -> String
document =
    E.docToString


{-| Stringify an individual XML node
-}
node : Node -> String
node =
    E.nodeToString