[e-lang] XML support in E
tal at it-innovation.soton.ac.uk
Mon Oct 26 10:08:56 PDT 2009
Could someone give some simple examples showing how to read and write
XML using E?
The XMLQuasiParser looks reasonable, but says it is deprecated in favour
of using Terms. I can build Terms manually, but I can't see how to turn
serialised XML into a Term, or a Term into serialised XML.
I found this, but it doesn't say which methods to call:
There's also Term.updoc in the source, which shows how to convert a sml
DOM to a term, but not the other way around. Also, sml doesn't support
all of XML, e.g.
# problem: Failed: syntax error: expected '>' but got '/' at 4
Dr Thomas Leonard
IT Innovation Centre
2 Venture Road
Hampshire SO16 7NP
Tel: +44 0 23 8076 0834
Fax: +44 0 23 8076 0833
mailto:tal at it-innovation.soton.ac.uk
More information about the e-lang