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

CopyrightCopyright (C) 2008-9 Uwe Schmidt
LicenseMIT
MaintainerUwe Schmidt (uwe@fh-wedel.de)
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Text.XML.HXT.DOM.ShowXml

Description

XML tree conversion to external string representation

Synopsis

Documentation

xshow :: XmlTrees -> String Source #

convert a list of trees into a string

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

xshowBlob :: XmlTrees -> Blob Source #

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

xshow' :: (Char -> StringFct) -> (Char -> StringFct) -> (Char -> StringFct) -> XmlTrees -> Blob Source #

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 -> String Source #