Safe Haskell | None |
---|
Utility functions shared by modules that need to read the contents of XML documents.
- removeIllegalStartChars :: String -> String
- removeEncoding :: String -> String
- removeDoctype :: String -> String
Documentation
removeIllegalStartChars :: String -> StringSource
An evil hack to remove *ILLEGAL* characters before the XML declaration. Why do people write software that does this? Can't they follow directions?
removeEncoding :: String -> StringSource
An evil hack to remove encoding from the document
removeDoctype :: String -> StringSource
An evil hack to remove any <!DOCTYPE ...> from the document