Copyright | (c) Antoine Latter 2008 |
---|---|
License | BSD3 |
Maintainer | Antoine Latter <aslatter@gmail.com> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
Handls parsing the data structures from XML files.
In order to support copying events and errors across module boundaries, all modules which may have cross-module event copies and error copies must be parsed at once.
There is no provision for preserving the event copy and error copy declarations - the copies are handled during parsing.
Documentation
fromFiles :: [FilePath] -> IO [XHeader] Source #
Process the listed XML files. Any files which fail to parse are silently dropped. Any declaration in an XML file which fail to parse are silently dropped.
fromStrings :: [String] -> [XHeader] Source #
Process the strings as if they were XML files. Any files which fail to parse are silently dropped. Any declaration in an XML file which fail to parse are silently dropped.