Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Text.XML.Basic.Name
Description
We provide a type class for tag and attribute names. Instances can be names that preserve case, names with lowercase letters as canonical representation.
types and classes
class Ord name => C name where Source #
Minimal complete definition
class Ord ident => Tag ident where Source #
We need to distinguish between tag names and attribute names, because DOCTYPE as tag name must be written upper case, whereas as attribute name it may be written either way.
Minimal complete definition
Instances
Tag T Source # | |
Defined in Text.XML.Basic.Name.MixedCase | |
Tag T Source # | |
Defined in Text.XML.Basic.Name.Qualified | |
Tag T Source # | |
Defined in Text.XML.Basic.Name.LowerCase |
class Ord ident => Attribute ident where Source #
Minimal complete definition
Instances
Attribute T Source # | |
Defined in Text.XML.Basic.Name.MixedCase | |
Attribute T Source # | |
Defined in Text.XML.Basic.Name.Qualified | |
Attribute T Source # | |
Defined in Text.XML.Basic.Name.LowerCase |