Hi,

does anybody know how to teach a JDOM Outputter to write comments in the same line as the element it comments?

Example:
Code:
<element1>
  <subelement1/> <!-- comment -->
  <subelement2/> <!-- comment -->
</element1>
Thanks!