A single HTML element. A whole document is represented by a list of Tag.
There is no requirement for TagOpen and TagClose to match.
Constructors
TagOpen str [Attribute str]An open tag with Attributes in their original order
TagClose strA closing tag
TagText strA text node, guaranteed not to be the empty string
TagComment strA comment
TagWarning strMeta: A syntax error in the input file
TagPosition !Row !ColumnMeta: The position of a parsed element
Instances6Functor, Eq, Data, Ord, Show, TagRep
Functor TagDefined in tagsoup-0.14.8 · Text.HTML.TagSoup.TypeEq str => Eq (Tag str)Defined in tagsoup-0.14.8 · Text.HTML.TagSoup.TypeData str => Data (Tag str)Defined in tagsoup-0.14.8 · Text.HTML.TagSoup.TypeOrd str => Ord (Tag str)Defined in tagsoup-0.14.8 · Text.HTML.TagSoup.TypeShow str => Show (Tag str)Defined in tagsoup-0.14.8 · Text.HTML.TagSoup.TypeStringLike str => TagRep (Tag str)Defined in tagsoup-0.14.8 · Text.HTML.TagSoup