[xsl] Removing white space from XML file

Subject: [xsl] Removing white space from XML file
From: Chad Chelius <cchelius@xxxxxxxxxxxxxxx>
Date: Wed, 11 Apr 2007 20:25:30 -0400
I am being supplied an XML file that contains white space in both the value of elements and also in the general structure of the XML file. Most often in the value of each element there are several spaces but sometimes there are other spaces as well. Is there an easy way to remove these? Also, within the value of each element, there needs to be one space instead of several. I know this can be accomplished with a find change in many programs, but it would be great if I could remove these extra spaces using an XSLT.

chad

Current Thread