xml-types-0.1.3: Basic types for representing XML

Data.XML.Types

Contents

Synopsis

Types

Document prologue

Document body

data Name Source

Instances

Eq Name

Ignores prefixes

Ord Name

Ignores prefixes

Since 0.1.3

Show Name 
IsString Name

Supports Clark notation; see http://www.jclark.com/xml/xmlns.htm and http://infohost.nmt.edu/tcc/help/pubs/pylxml/etree-QName.html

Since 0.1.2

class Named a whereSource

Methods

getName :: a -> NameSource

Doctypes

Incremental processing

data Event Source

Some XML processing tools are incremental, and work in terms of events rather than node trees. Defining the event type here, even though it won't be useful to most users, allows these packages to interoperate more easily.

Since: 0.1.1

Instances

Predicates

isNamed :: Named a => Name -> a -> [a]Source

Filters

position :: Integer -> (a -> [b]) -> a -> [b]Source