Copyright | Copyright (C) 2005 Uwe Schmidt |
---|---|
License | MIT |
Maintainer | Uwe Schmidt (uwe@fh-wedel.de) |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Parsec parser for DTD declarations for ELEMENT, ATTLIST, ENTITY and NOTATION declarations
Synopsis
- parseXmlDTDdecl :: XmlTree -> XmlTrees
- parseXmlDTDdeclPart :: XmlTree -> XmlTrees
- parseXmlDTDEntityValue :: XmlTree -> XmlTrees
- elementDecl :: SParser XmlTrees
- attlistDecl :: SParser XmlTrees
- entityDecl :: SParser XmlTrees
- notationDecl :: SParser XmlTrees
Documentation
parseXmlDTDdecl :: XmlTree -> XmlTrees Source #
parse a tokenized DTD declaration represented by a DTD tree. The content is represented by the children containing text and parameter entity reference nodes. The parameter entity reference nodes contain their value in the children list, consisting of text and possibly again parameter entity reference nodes. This structure is build by the parameter entity substitution. Output is again a DTD declaration node, but this time completely parsed and ready for further DTD processing
elementDecl :: SParser XmlTrees Source #
attlistDecl :: SParser XmlTrees Source #
entityDecl :: SParser XmlTrees Source #
notationDecl :: SParser XmlTrees Source #