HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulexml-conduit-1.10.0.0Haskell2010

Text.XML.Stream.Render.Internal

Enumeratees to render XML Events. Unlike libxml-enumerator and expat-enumerator, this module does not provide IO and ST variants, since the underlying rendering operations are pure functions.

  • 2 types
  • 14 values

Rendering XML files

4 declarations

Renderer settings

8 declarations
methoddef :: a
#

The default value for this type.

valuersNamespaces :: RenderSettings -> [(Text, Text)]
#

Defines some top level namespace definitions to be used, in the form of (prefix, namespace). This has absolutely no impact on the meaning of your documents, but can increase readability by moving commonly used namespace declarations to the top level.

valueorderAttrs :: [(Name, [Name])] -> Name -> Map Name Text -> [(Name, Text)]
#

Convenience function to create an ordering function suitable for use as the value of rsAttrOrder. The ordering function is created from an explicit ordering of the attributes, specified as a list of tuples, as follows: In each tuple, the first component is the Name of an element, and the second component is a list of attributes names. When the given element is rendered, the attributes listed, when present, appear first in the given order, followed by any other attributes in arbitrary order. If an element does not appear, all of its attributes are rendered in arbitrary order.

Event rendering

2 declarations

Attribute rendering

3 declarations
datadata Attributes
#

A list of attributes.

Instances2Semigroup, Monoid