Next: , Previous: sxml fold, Up: Standard Library

8.4 (sxml simple)

8.4.1 Overview

A simple interface to XML parsing and serialization.

8.4.2 Usage

— Function: xml->sxml [port]

Use SSAX to parse an XML document into SXML. Takes one optional argument, port, which defaults to the current input port.

— Function: sxml->xml tree [port]

Serialize the sxml tree tree as XML. The output will be written to the current output port, unless the optional argument port is present.

— Function: sxml->string sxml

Detag an sxml tree sxml into a string. Does not perform any formatting.