Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Simplexmlparser

module Simplexmlparser: sig..end

Basic camlp4 parser for xml


type xml =

|Element of (string * (string * string) list * xml list)
|PCData of string

exception Xml_parser_error of string

val xmlparser_string : string -> xml list

val xmlparser_file : string -> xml list