Hi, Michael, On Apr 1, 2005 2:27 PM, Michael Shillinger <[EMAIL PROTECTED]> wrote:
> The XmlWriter should be extensible. in some sense, it already is: See the TypeDecoder class. However, my vision would indeed be a mapping between element names (like "i4" or "struct") and SAX ContentHandlers (parsing) or SAX drivers (writing). I would think this would be what you expect. > Samples, examples and how-to docs would be extremely helpful for newbies. Agreed. > Although it would violate the spec, typing the <struct> element would be > very helpful. > > i.e. > <struct name="org.mshillin.util.Address"> I believe to understand your wish. My personal vision would be to get something quite similar with the help of JAXB. Similar things could be done dynamically with BeTwixt or Digester (both from the Jakarta Commons). Jochen -- Outside of a dog, a book is man's best friend. Inside of a dog, its too dark to read. (Groucho Marx)