I'm using JDOM to parse an xml document that could be like this:
<person>
<name id="blah"> xyz </name>
<friends />
</person>
I'm trying to find out what the correct way to detect an empty tag such as <friends />
or <friends></friends>
would be.