You are on the right track. In fact, there is a lot of discussion going on
Java2XML serialization for quite a while already. To say more, JSXML
<http://www.camb.opengroup.org/~laforge/jxml.html>) is a Java/XML
serialization API that Bill la Forge at "The Open Group" works on.
It may be also interesting for you to check XLogo
<http://www.geocities.com/SiliconValley/Lakes/3767/xlogo-index.html>
- a pilot project attempting to make a next step : from Java/XML
serialization to Meta OO Programming.
cheers,
Dima
-----------------
Dmitri Kondratiev
dima@paragraph.com
102401.2457@compuserve.com
http://www.geocities.com/SiliconValley/Lakes/3767/
tel: 07-095-464-9241