hxt-9.3.1.22: A collection of tools for processing XML with Haskell.
CopyrightCopyright (C) 2005-9 Uwe Schmidt
LicenseMIT
MaintainerUwe Schmidt (uwe@fh-wedel.de)
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Text.XML.HXT.Arrow.DocumentOutput

Description

State arrows for document output

Synopsis

Documentation

putXmlDocument :: Bool -> String -> IOStateArrow s XmlTree XmlTree Source #

Write the contents of a document tree into an output stream (file or stdout).

If textMode is set, writing is done with Haskell string output, else (default) writing is done with lazy ByteString output

putXmlTree :: String -> IOStateArrow s XmlTree XmlTree Source #

write the tree representation of a document to a file

putXmlSource :: String -> IOStateArrow s XmlTree XmlTree Source #

write a document with indentaion and line numers