HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulexml-1.3.14Haskell98

Text.XML.Light.Output

Output handling for the lightweight XML lib.

  • 1 type
  • 18 values
  • Packagexml-1.3.14
  • Exports19
  • LanguageHaskell98
  • LicenceBSD-3-Clause
  • SourceOutput.hs
valueppTopElement :: Element -> String
#

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

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

A configuration that tries to make things pretty (possibly at the cost of changing the semantics a bit through adding white space.)

The predicate specifies for which empty tags we should use XML's abbreviated notation /. This is useful if we are working with some XML-ish standards (such as certain versions of HTML) where some empty tags should always be displayed in the TAG/TAG form.

Specify if we should use extra white-space to make document more readable. WARNING: This adds additional white-space to text elements, and so it may change the meaning of the document.