Guile Library

(sxml simple)

Overview

A simple interface to XML parsing and serialization.

Usage

xml->sxml [port = (current-input-port)]
[Function]

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

sxml->xml tree [port = (current-output-port)]
[Function]

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

sxml->string sxml
[Function]

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

universal-sxslt-rules
[Variable]

A set of pre-post-order rules that transform any SXML tree into a form suitable for XML serialization by (sxml transform)'s SRV:send-reply. Used internally by sxml->xml.