xml-1.3.13: A simple XML library.

Portabilityportability
Stabilityprovisional
MaintainerIavor S. Diatchki <diatchki@galois.com>
Safe HaskellNone

Text.XML.Light

Description

A lightweight XML parsing, filtering and generating library.

This module reexports functions from:

Synopsis

Documentation

add_attr :: Attr -> Element -> ElementSource

Add an attribute to an element.

add_attrs :: [Attr] -> Element -> ElementSource

Add some attributes to an element.

unqual :: String -> QNameSource

Create an unqualified name.

class Node t whereSource

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

Methods

node :: QName -> t -> ElementSource

unode :: Node t => String -> t -> ElementSource

Create node with unqualified name