This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

xml-related Kawa check-ins


I just checked following into Kawa:

A new gnu.kawa.xml package (whose name is likely to change) contains
XML-related code, currently an XML parser and printer.
The new class gnu.kawa.util.TreeList (alias <document>) is useful
for compactly representing nested structures, including XML documents.
If you (require 'xml) you will get Scheme interfaces (print-as-xml
and parse-xml-from-url) to these classes.

For example you can do:

(require 'xml)
(define doc (parse-xml-from-url "file:/home/bothner/foo.xml"))
(print-as-xml doc)

Not very exciting yet, but more will follow.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]