[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
7.22 SXML
SXML is a native representation of XML in terms of standard Scheme data types: lists, symbols, and strings. For example, the simple XML fragment:
<parrot type="African Grey"><name>Alfie</name></parrot>
may be represented with the following SXML:
(parrot (@ (type "African Grey)) (name "Alfie"))
SXML is very general, and is capable of representing all of XML. Formally, this means that SXML is a conforming implementation of the http://www.w3.org/TR/xml-infoset/ standard.
Guile includes several facilities for working with XML and SXML: parsers, serializers, and transformers.
7.22.1 SXML Overview | XML, as it was meant to be | |
7.22.2 Reading and Writing XML | Convenient XML parsing and serializing | |
7.22.3 SSAX: A Functional XML Parsing Toolkit | Custom functional-style XML parsers | |
7.22.4 Transforming SXML | Munging SXML with pre-post-order
| |
7.22.5 SXML Tree Fold | Fold-based SXML transformations | |
7.22.6 SXPath | XPath for SXML | |
7.22.8 (sxml apply-templates) | A more XSLT-like approach to SXML transformations | |
7.22.7 (sxml ssax input-parse) | The SSAX tokenizer, optimized for Guile |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on April 20, 2013 using texi2html 5.0.