|
| Text.XML.Light.Output | | Portability | Output handling for the lightweight XML lib. | | Stability | provisional | | Maintainer | Iavor S. Diatchki <diatchki@galois.com> |
|
|
|
| Description |
|
|
| Synopsis |
|
|
|
| Documentation |
|
| showTopElement :: Element -> String |
| Adds the ?xml? header.
|
|
| showContent :: Content -> String |
|
| showElement :: Element -> String |
|
| showCData :: CData -> String |
|
| showQName :: QName -> String |
|
| showAttr :: Attr -> String |
|
| ppTopElement :: Element -> String |
| Pretty printing renders XML documents faithfully,
with the exception that whitespace may be added/removed
in non-verbatim character data.
|
|
| ppContent :: Content -> String |
| Pretty printing content
|
|
| ppElement :: Element -> String |
| Pretty printing elements
|
|
| ppcTopElement :: ConfigPP -> Element -> String |
| Pretty printing renders XML documents faithfully,
with the exception that whitespace may be added/removed
in non-verbatim character data.
|
|
| ppcContent :: ConfigPP -> Content -> String |
| Pretty printing content
|
|
| ppcElement :: ConfigPP -> Element -> String |
| Pretty printing elements
|
|
| data ConfigPP |
|
| defaultConfigPP :: ConfigPP |
| Default pretty orinting configutaion.
* Always use abbreviate empty tags.
|
|
| useShortEmptyTags :: (QName -> Bool) -> ConfigPP -> ConfigPP |
| The predicate specifies for which empty tags we should use XML's
abbreviated notation TAG /. This is useful if we are working with
some XML-ish standards (such as certain versions of HTML) where some
empty tags should always be displayed in the TAG></TAG form.
|
|
| tagEnd :: QName -> ShowS |
|
| xml_header :: String |
| The XML 1.0 header
|
|
| Produced by Haddock version 2.7.2 |