[xsl] How to strip off all empty elements from a XML doc?

Subject: [xsl] How to strip off all empty elements from a XML doc?
From: "Ben Stover" <bxstover@xxxxxxxxxxx>
Date: Wed, 07 Oct 2009 15:39:00 +0200
Just another question:

Assume a XML doc contains (sub)elements with no content like

<myelem22></myelem22>
or
<myelem22/>

How can I strip off/delete recursively ALL these empty elements 
from the XML element tree (but keep all others)?

Ben

Current Thread