xml-basic-0.1.2: Basics for XML/HTML representation and processing

Safe HaskellSafe
LanguageHaskell98

Text.XML.Basic.Tag

Description

We do not define a tag data type here, since this is too much bound to the particular use (e.g. list or tree structure). However we define a tag name and some special names.

Synopsis

Documentation

newtype Name ident Source #

Constructors

Name 

Fields

Instances

Eq ident => Eq (Name ident) Source # 

Methods

(==) :: Name ident -> Name ident -> Bool #

(/=) :: Name ident -> Name ident -> Bool #

Ord ident => Ord (Name ident) Source # 

Methods

compare :: Name ident -> Name ident -> Ordering #

(<) :: Name ident -> Name ident -> Bool #

(<=) :: Name ident -> Name ident -> Bool #

(>) :: Name ident -> Name ident -> Bool #

(>=) :: Name ident -> Name ident -> Bool #

max :: Name ident -> Name ident -> Name ident #

min :: Name ident -> Name ident -> Name ident #

Show ident => Show (Name ident) Source # 

Methods

showsPrec :: Int -> Name ident -> ShowS #

show :: Name ident -> String #

showList :: [Name ident] -> ShowS #

Tag ident => C (Name ident) Source # 

Methods

fromString :: String -> Name ident Source #

toString :: Name ident -> String Source #

doctype :: Tag name => Name name Source #

Deprecated: use doctypeName instead

doctypeName :: Tag name => Name name Source #

cdata :: Tag name => Name name Source #

Deprecated: use cdataName instead

cdataName :: Tag name => Name name Source #

xmlName :: Tag name => Name name Source #

maybeXMLEncoding :: (Tag name, Attribute name) => Name name -> T name string -> Maybe string Source #