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

Copyright(c) 2014 Alp Mestanogullari
LicenseBSD3
Maintaineralpmestan@gmail.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

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