% java TagStripper hotcop.xml Hot Cop Jacques Morali Henri Belolo Victor Willis Jacques Morali A & M Records 6:20 1978 Village People <!-- You can tell what album I was listening to when I wrote this example -->
That last comment is really a bug in JDOM,
related to when and how
comments are output. Eventually a
printComment() method will fix it.
I could work around it now by overriding the
output() method to
only print the root element.