Lists Home |
Date Index |
Dmitry Lizorkin wrote:
> The idea of this approach is the representation of XML documents in the form
> of Scheme nested lists. For example, the following piece of an XML document:
> <tag attr1="value1" attr2="value2">
> <nested>Text node</nested>
> is represented in the form of Scheme nested lists as follows:
> (tag (@ (attr1 "value1") (attr2 "value2"))
> (nested "Text node")
You seem to have thrown out the boundary white space here. Is this
representation capable of handling mixed content in a natural way? i.e.
is this syntactically correct?
(tag (@ (attr1 "value1") (attr2 "value2"))
(nested "Text node")
"Hmm, what should we do about
Also important: is the encoding for this representation some form of
Elliotte Rusty Harold firstname.lastname@example.org
XML in a Nutshell 3rd Edition Just Published!