Copyright | Copyright (C) 2005-9 Uwe Schmidt |
---|---|
License | MIT |
Maintainer | Uwe Schmidt (uwe@fh-wedel.de) |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
State arrows for document output
- putXmlDocument :: Bool -> String -> IOStateArrow s XmlTree XmlTree
- putXmlTree :: String -> IOStateArrow s XmlTree XmlTree
- putXmlSource :: String -> IOStateArrow s XmlTree XmlTree
- encodeDocument :: Bool -> Bool -> String -> IOStateArrow s XmlTree XmlTree
- encodeDocument' :: ArrowXml a => Bool -> Bool -> String -> a XmlTree XmlTree
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
encodeDocument :: Bool -> Bool -> String -> IOStateArrow s XmlTree XmlTree Source