Copyright | (c) Galois Inc. 2007 (c) Herbert Valerio Riedel 2019 |
---|---|
License | BSD-3-Clause AND GPL-3.0-or-later |
Safe Haskell | None |
Language | Haskell2010 |
Output handling for the lightweight XML lib.
Synopsis
Documentation
serializeXMLDoc :: Element -> Text Source #
Serialize XML 1.0 document prefixed by the XML prologue
"<?xml version='1.0' ?>
"
serializeXMLRoot :: SerializeXMLOptions -> Root -> Text Source #
Serialize a XML Root
data SerializeXMLOptions Source #
Options for tweaking XML serialization output
defaultSerializeXMLOptions :: SerializeXMLOptions Source #
Default rendering options
- Allow empty tags for all non-special elements
- Don't insert newlines between prolog/epilog nodes