Greetings, I have the following questions regarding JAXB and xml comments: 1) How do I get a handle to the comments from an xml file after I compile the schema (and the source thereafter), and have unmarshalled the input (xml) file ? 2) How do I write out (marshall) comments to the output file ? Is it a matter of reading the DOM and inserting nodes at the appropriate places ?