xml-1.3.1: A simple XML library.

PortabilityOutput handling for the lightweight XML lib.
Stabilityprovisional
MaintainerIavor S. Diatchki <diatchki@galois.com>

Text.XML.Light.Output

Description

 

Synopsis

Documentation

showTopElement :: Element -> StringSource

Adds the ?xml? header.

ppTopElement :: Element -> StringSource

Pretty printing renders XML documents faithfully, with the exception that whitespace may be added/removed in non-verbatim character data.

ppContent :: Content -> StringSource

Pretty printing content

ppElement :: Element -> StringSource

Pretty printing elements

xml_header :: StringSource

The XML 1.0 header