xml-1.3.14: A simple XML library.

Copyright(c) Galois, Inc. 2007
LicenseBSD3
MaintainerIavor S. Diatchki <diatchki@galois.com>
Stabilityprovisional
PortabilityBasic XML types.
Safe HaskellSafe-Inferred
LanguageHaskell98

Text.XML.Light.Types

Description

 

Synopsis

Documentation

type Line = Integer Source

A line is an Integer

data Element Source

XML elements

Constructors

Element 

data Attr Source

XML attributes

Constructors

Attr 

Fields

attrKey :: QName
 
attrVal :: String
 

data CData Source

XML CData

Constructors

CData 

data CDataKind Source

Constructors

CDataText

Ordinary character data; pretty printer escapes &, < etc.

CDataVerbatim

Unescaped character data; pretty printer embeds it in <![CDATA[..

CDataRaw

As-is character data; pretty printer passes it along without any escaping or CDATA wrap-up.

data QName Source

XML qualified names

Constructors

QName 

blank_name :: QName Source

Blank names

blank_cdata :: CData Source

Blank cdata

blank_element :: Element Source

Blank elements