hexpat-0.8: wrapper for expat, the fast XML parserSource codeContentsIndex
Text.XML.Expat.Format
Description
This module provides functions to format a tree structure as UTF-8 encoded XML.
Synopsis
formatTree :: (GenericXMLString tag, GenericXMLString text) => Node tag text -> ByteString
formatTree' :: (GenericXMLString tag, GenericXMLString text) => Node tag text -> ByteString
formatNode :: (GenericXMLString tag, GenericXMLString text) => Node tag text -> ByteString
formatNode' :: (GenericXMLString tag, GenericXMLString text) => Node tag text -> ByteString
putTree :: (GenericXMLString tag, GenericXMLString text) => Node tag text -> Put
putNode :: (GenericXMLString tag, GenericXMLString text) => Node tag text -> Put
Documentation
formatTree :: (GenericXMLString tag, GenericXMLString text) => Node tag text -> ByteStringSource
Format document with <?xml.. header - lazy variant that returns lazy ByteString.
formatTree' :: (GenericXMLString tag, GenericXMLString text) => Node tag text -> ByteStringSource
Format document with <?xml.. header - strict variant that returns strict ByteString.
formatNode :: (GenericXMLString tag, GenericXMLString text) => Node tag text -> ByteStringSource
Format XML node with no header - lazy variant that returns lazy ByteString.
formatNode' :: (GenericXMLString tag, GenericXMLString text) => Node tag text -> ByteStringSource
Format XML node with no header - strict variant that returns strict ByteString.
putTree :: (GenericXMLString tag, GenericXMLString text) => Node tag text -> PutSource
Put interface for formatting a tree with <?xml.. header.
putNode :: (GenericXMLString tag, GenericXMLString text) => Node tag text -> PutSource
Put interface for formatting a node with no header.
Produced by Haddock version 2.4.2