taggy-0.1.2: Efficient and simple HTML/XML parsing library

Stabilityexperimental
Maintaineralpmestan@gmail.com
Safe HaskellNone

Text.Taggy.Parser

Contents

Description

Parse an HTML or XML document as a list of Tags with taggyWith or run.

Synopsis

Documentation

taggyWith :: Bool -> Text -> [Tag]Source

Get a list of tags from an HTML document represented as a Text value.

The Bool lets you specify whether you want to convert HTML entities to their corresponding unicode character. (True means yes convert)

run :: Bool -> Text -> Result [Tag]Source

Same as taggyWith but hands you back a Result from attoparsec

Internal parsers