The xmlhtml package
Contains renderers and parsers for both XML and HTML 5 document fragments, which share data structures so that it's easy to work with both. Document fragments are bits of documents, which are not constrained by some of the high-level structure rules (in particular, they may contain more than one root element).
Note that this is not a compliant HTML 5 parser. Rather, it is a parser for HTML 5 compliant documents. It does not implement the HTML 5 parsing algorithm, and should generally be expected to perform correctly only on documents that you trust to conform to HTML 5. This is not a suitable library for implementing web crawlers or other software that will be exposed to documents from outside sources. The result is also not the HTML 5 node structure, but rather something closer to the physical structure. For example, omitted start tags are not inserted (and so, their corresponding end tags must also be omitted).
Properties
| Versions | 0.1, 0.1.0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.5.1, 0.1.5.2, 0.1.6, 0.1.7, 0.2.0, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.2.0.4, 0.2.1 |
|---|---|
| Dependencies | base (4.*), blaze-builder (≥0.2 & <0.4), blaze-html (≥0.5 & <0.7), blaze-markup (0.5.*), bytestring (≥0.9 & <0.11), containers (≥0.3 & <0.6), parsec (≥3.1.2 & <3.2), text (0.11.*), unordered-containers (≥0.1.4 & <0.3) |
| License | BSD3 |
| Author | Chris Smith <cdsmith@gmail.com> |
| Maintainer | Chris Smith <cdsmith@gmail.com> |
| Category | Text |
| Source repository | git clone https://github.com/snapframework/xmlhtml.git |
| Upload date | Tue Feb 19 10:11:54 UTC 2013 |
| Uploaded by | GregoryCollins |
| Built on | ghc-7.6 |
| Distributions | NixOS: 0.2.1, FreeBSD: 0.2.1 |
Modules
- Text
Downloads
- xmlhtml-0.2.0.4.tar.gz (Cabal source package)
- package description (included in the package)