xml-1.3.14: A simple XML library.

Copyright(c) Galois Inc. 2007
LicenseBSD3
MaintainerIavor S. Diatchki <diatchki@galois.com>
Stabilityprovisional
Portabilityportability
Safe HaskellSafe
LanguageHaskell98

Text.XML.Light

Description

A lightweight XML parsing, filtering and generating library.

This module reexports functions from:

Synopsis

Documentation

class Node t where Source #

A smart element constructor which uses the type of its argument to determine what sort of element to make.

Minimal complete definition

node

Methods

node :: QName -> t -> Element Source #

Instances
Node () Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> () -> Element Source #

Node CData Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> CData -> Element Source #

Node Attr Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> Attr -> Element Source #

Node Element Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> Element -> Element Source #

Node Content Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> Content -> Element Source #

Node [Char] Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> [Char] -> Element Source #

Node [CData] Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> [CData] -> Element Source #

Node [Attr] Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> [Attr] -> Element Source #

Node [Element] Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> [Element] -> Element Source #

Node [Content] Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> [Content] -> Element Source #

Node ([Attr], [CData]) Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> ([Attr], [CData]) -> Element Source #

Node ([Attr], [Element]) Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> ([Attr], [Element]) -> Element Source #

Node ([Attr], [Content]) Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> ([Attr], [Content]) -> Element Source #

Node ([Attr], String) Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> ([Attr], String) -> Element Source #

Node ([Attr], CData) Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> ([Attr], CData) -> Element Source #

Node ([Attr], Element) Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> ([Attr], Element) -> Element Source #

Node ([Attr], Content) Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> ([Attr], Content) -> Element Source #

Node (Attr, String) Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> (Attr, String) -> Element Source #

Node (Attr, CData) Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> (Attr, CData) -> Element Source #

Node (Attr, Element) Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> (Attr, Element) -> Element Source #

Node (Attr, Content) Source # 
Instance details

Defined in Text.XML.Light

Methods

node :: QName -> (Attr, Content) -> Element Source #

add_attr :: Attr -> Element -> Element Source #

Add an attribute to an element.

add_attrs :: [Attr] -> Element -> Element Source #

Add some attributes to an element.

unqual :: String -> QName Source #

Create an unqualified name.

unode :: Node t => String -> t -> Element Source #

Create node with unqualified name