xml-extractors-0.2.0.0: Simple wrapper over xml (Text.XML.Light) to extract data from parsed xml
This is a library to make it easier to extract data from parsed xml.
See the Extractors module for an example.
Motivation
The xml package provides functions to parse and get information from xml data. You can parse an xml string into a generic xml tree representation. Then to extract information from that tree and into you own data types you can use this library.
If there is an error during extraction (expected information is absent or wrong), you will get an error value with position information.
Some limitations
- Only handles unqualified names, so far.
- No column or line number reference in error values.