This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
playing with XML stuff
- From: "Nic Ferrier" <nferrier at tapsellferrier dot co dot uk>
- To: <kawa at sources dot redhat dot com>
- Date: Fri, 4 Jan 2002 14:26:11 -0000
- Subject: playing with XML stuff
I've just been playing with some of the XML stuff, I've not tried any of
this before. I came across some things I find confusing.
The manual says that this:
(make-element 'p "The time is: " (make-element 'code (make
<java.util.Date>)))
should make a TreeList which looks like this:
<p>The the is: <code>date...</code></p>
But when I do this:
(print-as-xml
(make-element 'p "The time is: "
(make-element 'code (make <java.util.Date>))))
I get the following:
<pThe time is: ><code>Fri Jan 04 13:59:40 GMT 2002</code></p>
Incidentally this is consistent with the return value of the
(make-element ...) expression.
I'm using the latest kawa build (but not the CVS build) for this.
Nic