| |||||||||||||||||||||
| |||||||||||||||||||||
Synopsis | |||||||||||||||||||||
| |||||||||||||||||||||
Documentation | |||||||||||||||||||||
getXmlContents :: XmlStateFilter a | |||||||||||||||||||||
filter for reading the content of a XML document input is a root node with the source as an attibute the text is read, the encoding scheme is parsed and selected and the input is translated into the internal UTF-8 string representation | |||||||||||||||||||||
getXmlEntityContents :: XmlStateFilter a | |||||||||||||||||||||
filter for reading the content of an external XML entity see also : getXmlContents | |||||||||||||||||||||
getUrlContents :: XmlStateFilter a | |||||||||||||||||||||
the hard io operations for reading a file or accessing a document via http input must be a root node with a source attribute specifying the URI | |||||||||||||||||||||
getContentLength :: XmlFilter | |||||||||||||||||||||
compute the length of the data for a document read previously by a call of 'getUrlContents. The result is stored as an attribute value in the document root node. the attribute name is a_contentLength | |||||||||||||||||||||
guessDocEncoding :: XmlStateFilter a | |||||||||||||||||||||
guessEncoding uses encoding attribute and content to determine the encoding scheme. it's assumed that an encoding spec has been tried to parse before guessing the encoding. UTF-8 is the default encoding other supported encodings are ISO-8859-1 (also known as ISO-Latin-1), US-ASCII, UTF-16 or ISO-10646-UCS-2, UTF-16BE, UTF-16LE | |||||||||||||||||||||
runInLocalURIContext :: XmlStateFilter a -> XmlStateFilter a | |||||||||||||||||||||
filter command for saving and restoring the base URI
| |||||||||||||||||||||
runInNewURIContext :: String -> XmlStateFilter a -> XmlStateFilter a | |||||||||||||||||||||
filter command for running an action in a new URI context | |||||||||||||||||||||
getBaseURI :: XState state String | |||||||||||||||||||||
read the current base URI see also : setBaseURI | |||||||||||||||||||||
setBaseURI :: String -> XState state () | |||||||||||||||||||||
set the base URI, all other URIs are handled relative to this base URI the default base URI is file:///<current-working-dir>/ see also : getBaseURI | |||||||||||||||||||||
getAbsolutURI :: String -> XState state String | |||||||||||||||||||||
transform an URI into an absolut URI using the current base URI
| |||||||||||||||||||||
isStandaloneDocument :: XState state Bool | |||||||||||||||||||||
predicate for testing the standalone document attribute | |||||||||||||||||||||
Produced by Haddock version 0.8 |