On 6/14/07, Werner Guttmann <[EMAIL PROTECTED]> wrote:
Not that I know of. But being curious, in what form would those comments
be available in your domain model ?


They don't have to be, though that would probably be a possibility.

For instance,

  Someelement s = new Somelement();
  s.addComment("somecomment");

would marshal to

 <!-- somecomment --><someelement />

On unmarshaling, you could associate a preceding a comment with the element.

This is just an idea, I haven't thought through it. I would find it
useful when debugging/examing large amount of otherwise similar
looking XML I'm currently generating for a project.

- Godmar

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to