Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Utility functions shared by modules that need to read the contents of XML documents.
Synopsis
- removeIllegalStartChars :: String -> String
- removeEncoding :: String -> String
- removeDoctype :: String -> String
Documentation
removeIllegalStartChars :: String -> String Source #
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 -> String Source #
An evil hack to remove encoding from the document
removeDoctype :: String -> String Source #
An evil hack to remove any <!DOCTYPE ...> from the document