| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Symantic.XML.Write
Synopsis
- writeXML :: NoSource src => XMLs src -> Text
- writeXMLIndented :: NoSource src => Text -> XMLs src -> Text
- writeFile :: FilePath -> Text -> IO ()
- type Write = Reader Reader Builder
- data Reader = Reader {}
- class Buildable a where
- class Writeable a where
- buildAttr :: PName -> EscapedText -> Builder
- buildAttrValue :: EscapedText -> Builder
- removeSpaces :: XMLs src -> XMLs src
Documentation
Type Write
Type Reader
Constructors
| Reader | |
Fields | |
Class Buildable
class Buildable a where Source #
Instances
| Buildable Char Source # | |
| Buildable String Source # | |
| Buildable Text Source # | |
| Buildable PName Source # | |
| Buildable NCName Source # | |
| Buildable Namespace Source # | |
| Buildable Name Source # | |
| Buildable CharRef Source # | |
| Buildable EntityRef Source # | |
| Buildable EscapedText Source # | |
Defined in Symantic.XML.Write Methods build :: EscapedText -> Builder Source # | |
Class Writable
buildAttrValue :: EscapedText -> Builder Source #
removeSpaces :: XMLs src -> XMLs src Source #