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

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

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, Text.XML.HXT.Parser.XmlParsec.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