dom-parser-3.1.0: Simple monadic DOM parser

Safe HaskellNone
LanguageHaskell2010

Text.XML.DOM.Parser.FromAttribute

Contents

Synopsis

FromAttribute

class FromAttribute a where Source #

Class of types which can be get from attribute value. Method fromAttribute is a convenient default parameter for parseAttribute

Since: 2.0.0

Minimal complete definition

fromAttribute

Methods

fromAttribute Source #

Arguments

:: Text

Attribute contents to parse

-> Either Text a

Either error message or result

Explicit methods