Hets - the Heterogeneous Tool Set

Copyright(c) Ewaryst Schulz, DFKI 2009
LicenseGPLv2 or higher, see LICENSE.txt
Maintainerewaryst.schulz@dfki.de
Stabilityprovisional
Portabilityportable
Safe HaskellNone

Common.XmlExpat

Contents

Description

Provides the Hexpat parsing and transformation facility to XML.Light types.

Synopsis

Interface to the Expat xml parser

nodesToContent :: [UNode ByteString] -> [Content]

Transforms an Expat xml tree to an XML.Light tree

nodesToContent'

Arguments

:: String

accumulates text nodes

-> [UNode ByteString]

list of content items

-> [Content] 

Version of nodesToContent with accumulator to minimize the occurrences of CData