title: Java XML Transformer : Empty elements in long notation instead of short
body: <p>I have created a conversion tool to add some information to an existing xml file.
  This is done by using DOM and the Transformer class.
  The output file will be processed by third party software.
  This TPS needs the empty tags from the input and outputfile in Long Notation.</p>
  
  <p>Unfortunately, transformer class always change them to short notation.
  Is there a way to prevent this from happenning?</p>
  
  <p>I have been searching various sites, but haven't found a solution that really fits my needs.</p>
  
  <p>Please help,
  Thanks,
  Kind regards,
  Maarten</p>