hxt-9.3.1.1: A collection of tools for processing XML with Haskell.

Portabilityportable
Stabilitystable
MaintainerUwe Schmidt (uwe@fh-wedel.de)
Safe HaskellNone

Text.XML.HXT.DOM.ShowXml

Description

XML tree conversion to external string representation

Synopsis

Documentation

xshow :: XmlTrees -> StringSource

convert a list of trees into a string

see also : xmlTreesToText for filter version, xread for the inverse operation

xshowBlob :: XmlTrees -> BlobSource

convert an XML tree into a binary large object (a bytestring)

xshow' :: (Char -> StringFct) -> (Char -> StringFct) -> (Char -> StringFct) -> XmlTrees -> BlobSource

convert a list of trees into a blob.

Apply a quoting function for XML quoting of content, a 2. quoting funtion for attribute values and an encoding function after tree conversion

xshow'' :: (Char -> StringFct) -> (Char -> StringFct) -> XmlTrees -> StringSource