X-0.1.0.0: A light-weight XML library

Copyright(c) Galois Inc. 2007
(c) Herbert Valerio Riedel 2019
LicenseBSD-3-Clause AND GPL-3.0-or-later
Safe HaskellNone
LanguageHaskell2010

Text.XML.Output

Description

Output handling for the lightweight XML lib.

Synopsis

Documentation

serializeXML :: [Content] -> Text Source #

Serialize a sequence of XML Content nodes

serializeXMLDoc :: Element -> Text Source #

Serialize XML 1.0 document prefixed by the XML prologue "<?xml version='1.0' ?>"