[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Stripping empty elements while still conforming to DTD


Subject: [xsl] Stripping empty elements while still conforming to DTD
From: "watchstone@xxxxxxxxxxx" <watchstone@xxxxxxxxxxx>
Date: Wed, 28 Sep 2005 15:21:56 GMT

Is there a simple way to strip empty elements from an XML while still conforming to the requirements of the DTD?  I know how to use the string() function to copy only those elements that contain data, but this often removes child elements required by the DTD.

Thanks for your help.

Stone


Current Thread
Keywords
xml