xml-extractors: Wrapper over xml to extract data from parsed xml
This is a library to simplify extraction of data from parsed xml.
See the Text.XML.Light.Extractors
module for an example.
Motivation
The xml
package provides functions to parse and get information from
xml data. It will parse an xml string into a generic tree
representation. Extracting information from such a tree while
keeping track of location to handle errors is tricky. This library
helps with that.
If there is an error during extraction (expected information is absent or wrong), it will return an error value with position information.
Some limitations
Only handles unqualified names. (This is by design to simplify usage.)
No column number and sometimes no line number reference in error values.
[Skip to Readme]
Modules
[Index]
Downloads
- xml-extractors-0.4.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.2.0.0, 0.2.1.0, 0.3.0.0, 0.4.0.0, 0.4.0.1, 0.4.0.2, 0.4.0.3 |
---|---|
Change log | changelog.md |
Dependencies | base (>=4.6 && <4.8), mtl (>=2.1 && <2.2), safe (>=0.3 && <0.4), transformers (>=0.3 && <0.4), xml (>=1.3 && <1.4) [details] |
Tested with | ghc ==7.8.3, ghc ==7.8.4 |
License | BSD-3-Clause |
Author | Johan Holmquist |
Maintainer | holmisen@gmail.com |
Category | XML |
Home page | https://github.com/holmisen/xml-extractors |
Uploaded | by holmisen at 2015-03-17T07:06:33Z |
Distributions | |
Reverse Dependencies | 2 direct, 0 indirect [details] |
Downloads | 4121 total (1 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2015-03-17 [all 1 reports] |