Sunday, March 26, 2006

expressing XML

You can think of an event structure as a very simplified XML DOM. I've been polishing the toString method on Event--it now produces a very readable XML document.

To round out the event package, I'll need to add another class for converting that XML document back into an event tree so that I can round trip from an event tree to an XML document and then back again. This will let me pass event trees as trees over, say, RMI, as strings. (Which is much less overhead than trying to pass them as serialized objects.) So I'm looking at an old friend, SAX. Haven't used it since the Quick project and it sure has changed!

And yes, I got my papers organized. Phew!

Bill

0 Comments:

Post a Comment

<< Home