Portability | portable |
---|---|
Maintainer | Montez Fitzpatrick <montezf@gmail.com> |
Safe Haskell | None |
A Data.Text.Lazy.Builder renderer for XML Document Type Declaration (DTD) documents.
- buildDTD :: DTD -> Builder
- buildDTDTextDecl :: DTDTextDecl -> Builder
- buildDTDComponent :: DTDComponent -> Builder
- buildEntityDecl :: EntityDecl -> Builder
- buildEntityValue :: [EntityValue] -> Builder
- buildPERef :: PERef -> Builder
- buildElementDecl :: ElementDecl -> Builder
- buildContentDecl :: ContentDecl -> Builder
- buildContentModel :: ContentModel -> Builder
- buildRepeat :: Repeat -> Builder
- buildAttList :: AttList -> Builder
- buildAttDecl :: AttDecl -> Builder
- buildAttType :: AttType -> Builder
- buildAttDefault :: AttDefault -> Builder
- buildNotation :: Notation -> Builder
- buildNotationSource :: NotationSource -> Builder
- buildInstruction :: Instruction -> Builder
- buildComment :: Text -> Builder
- buildExternalID :: ExternalID -> Builder
- buildList :: Text -> (a -> Builder) -> [a] -> Builder
- buildChoice :: (a -> Builder) -> [a] -> Builder
- buildMaybe :: (a -> Builder) -> Maybe a -> Builder
- newline :: Builder
- space :: Builder
- quote :: Builder -> Builder
- pbracket :: Builder -> Builder
- parens :: Builder -> Builder
DTD structure
buildDTDTextDecl :: DTDTextDecl -> BuilderSource
A Builder
for a DTDTextDecl
.
buildDTDComponent :: DTDComponent -> BuilderSource
A Builder
for a DTDComponent
.
Entity declarations and references
buildEntityDecl :: EntityDecl -> BuilderSource
A Builder
for an EntityDecl
.
buildEntityValue :: [EntityValue] -> BuilderSource
A Builder
for an entity value, consisting of a list of
EntityValue
.
buildPERef :: PERef -> BuilderSource
A builder for a PERef
.
Element declarations
buildElementDecl :: ElementDecl -> BuilderSource
A Builder
for an ElementDecl
.
buildContentDecl :: ContentDecl -> BuilderSource
A Builder
for a ContentDecl
.
buildContentModel :: ContentModel -> BuilderSource
A Builder
for a ContentModel
.
Attribute declarations
buildAttDefault :: AttDefault -> BuilderSource
A Builder
for an AttDefault
.
Notation declarations
buildNotationSource :: NotationSource -> BuilderSource
A Builder
for a NotationSource
.
Comments and processing instructions
buildInstruction :: Instruction -> BuilderSource
A Builder
for an Instruction
.
buildComment :: Text -> BuilderSource
Builder combinators for general DTD syntax
buildExternalID :: ExternalID -> BuilderSource
A Builder
for an ExternalID
.
buildChoice :: (a -> Builder) -> [a] -> BuilderSource
Build a choice expression.
buildMaybe :: (a -> Builder) -> Maybe a -> BuilderSource
Build an optional item.