| hxt-8.5.2: A collection of tools for processing XML with Haskell. | Source code | Contents | Index

Text.XML.HXT.Arrow.ParserInterface

Description
interface to the HXT XML and DTD parsers version: $Id: ParserInterface.hs,v 1.1 20060501 18:56:24 hxml Exp $
Synopsis

parseXmlDoc :: ArrowXml a => a (String, String) XmlTree
parseXmlDTDPart :: ArrowXml a => a (String, XmlTree) XmlTree
parseXmlContent :: ArrowXml a => a String XmlTree
parseXmlDocEncodingSpec :: ArrowXml a => a XmlTree XmlTree
removeEncodingSpec :: ArrowXml a => a XmlTree XmlTree
parseXmlEntityEncodingSpec :: ArrowXml a => a XmlTree XmlTree
parseXmlDTDdeclPart :: ArrowXml a => a XmlTree XmlTree
parseXmlDTDdecl :: ArrowXml a => a XmlTree XmlTree
parseXmlDTDEntityValue :: ArrowXml a => a XmlTree XmlTree
parseXmlAttrValue :: ArrowXml a => String -> a XmlTree XmlTree
parseXmlGeneralEntityValue :: ArrowXml a => String -> a XmlTree XmlTree
parseHtmlDoc :: ArrowList a => a (String, String) XmlTree
parseHtmlContent :: ArrowList a => a String XmlTree
parseHtmlTagSoup :: ArrowList a => Bool -> Bool -> Bool -> Bool -> Bool -> a (String, String) XmlTree
validateDoc :: ArrowList a => a XmlTree XmlTree
transformDoc :: ArrowList a => a XmlTree XmlTree
substHtmlEntityRefs :: ArrowList a => a XmlTree XmlTree
substXmlEntityRefs :: ArrowList a => a XmlTree XmlTree
substEntityRefs :: ArrowList a => [(String, Int)] -> a XmlTree XmlTree

Documentation

parseXmlDoc :: ArrowXml a => a (String, String) XmlTree | Source

parseXmlDTDPart :: ArrowXml a => a (String, XmlTree) XmlTree | Source

parseXmlContent :: ArrowXml a => a String XmlTree | Source

parseXmlDocEncodingSpec :: ArrowXml a => a XmlTree XmlTree | Source

removeEncodingSpec :: ArrowXml a => a XmlTree XmlTree | Source

parseXmlEntityEncodingSpec :: ArrowXml a => a XmlTree XmlTree | Source

parseXmlDTDdeclPart :: ArrowXml a => a XmlTree XmlTree | Source

parseXmlDTDdecl :: ArrowXml a => a XmlTree XmlTree | Source

parseXmlDTDEntityValue :: ArrowXml a => a XmlTree XmlTree | Source

parseXmlAttrValue :: ArrowXml a => String -> a XmlTree XmlTree | Source

parseXmlGeneralEntityValue :: ArrowXml a => String -> a XmlTree XmlTree | Source

parseHtmlDoc :: ArrowList a => a (String, String) XmlTree | Source

parseHtmlContent :: ArrowList a => a String XmlTree | Source

parseHtmlTagSoup :: ArrowList a => Bool -> Bool -> Bool -> Bool -> Bool -> a (String, String) XmlTree | Source

validateDoc :: ArrowList a => a XmlTree XmlTree | Source

transformDoc :: ArrowList a => a XmlTree XmlTree | Source

substHtmlEntityRefs :: ArrowList a => a XmlTree XmlTree | Source

substitution of all predefined XHTMT entities for none ASCII chars This arrow recurses through a whole XML tree and substitutes all entity refs within text nodes and attribute values by a text node containing of a single char corresponding to this entity. Unknown entity refs remain unchanged

substXmlEntityRefs :: ArrowList a => a XmlTree XmlTree | Source

substitution of the five predefined XMT entities, works like `substHtmlEntityRefs`

substEntityRefs :: ArrowList a => [(String, Int)] -> a XmlTree XmlTree | Source

the entity substitution arrow called from `substXmlEntityRefs` and `substHtmlEntityRefs`
Produced by Haddock version 2.4.2