HaXml-1.19.6: Utilities for manipulating XML documentsSource codeContentsIndex
Text.XML.HaXml.ByteStringPP
Contents
Pretty-print a whole document
Just one content
Just one tagged element
Pretty-print just a DTD
The prolog
A content particle description
Description
This is a fast non-pretty-printer for turning the internal representation of generic structured XML documents into Lazy ByteStrings. Like in Text.Xml.HaXml.Pretty, there is one pp function for each type in Text.Xml.HaXml.Types, so you can pretty-print as much or as little of the document as you wish.
Synopsis
document :: Document i -> ByteString
content :: Content i -> ByteString
element :: Element i -> ByteString
doctypedecl :: DocTypeDecl -> ByteString
prolog :: Prolog -> ByteString
cp :: CP -> ByteString
Pretty-print a whole document
document :: Document i -> ByteStringSource
Just one content
content :: Content i -> ByteStringSource
Just one tagged element
element :: Element i -> ByteStringSource
Pretty-print just a DTD
doctypedecl :: DocTypeDecl -> ByteStringSource
The prolog
prolog :: Prolog -> ByteStringSource
A content particle description
cp :: CP -> ByteStringSource
Produced by Haddock version 2.4.1