Text.XML.HXT.DOM.ShowXml

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

Copyright | Copyright (C) 2008-9 Uwe Schmidt
License | MIT
Maintainer | Uwe Schmidt (uwe@fh-wedel.de)
Stability | stable
Portability | portable
Safe Haskell | None
Language | Haskell98

Text.XML.HXT.DOM.ShowXml

Description

XML tree conversion to external string representation

Synopsis

- xshow :: XmlTrees -> String
- xshowBlob :: XmlTrees -> Blob
- xshow' :: (Char -> StringFct) -> (Char -> StringFct) -> (Char -> StringFct) -> XmlTrees -> Blob
- xshow'' :: (Char -> StringFct) -> (Char -> StringFct) -> XmlTrees -> String

# Documentation

xshow :: XmlTrees -> String #

convert a list of trees into a string

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

xshowBlob :: XmlTrees -> Blob #

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

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

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 #