Without the KeepSpaces option, XML::Twig munges all the whitespace in the original XML so that the output looks like:
<Config ASDisableNagle="false" AcceptAllContent="false" IISDisableNagl
+e="false" IgnoreDNSFailures="false" RefreshInterval="60" ResponseChun
+kSize="64"><Log LogLevel="Error" Name="/opt/IBMWebAS/logs/native.log"
+/><VirtualHostGroup Name="foobarcom"><VirtualHost Name="foo.bar.com"/
+></VirtualHostGroup><ServerCluster CloneSeparatorChange="false" LoadB
+alance="Round Robin" Name="cl_app302_prod" PostSizeLimit="-1" RemoveS
+pecialHeaders="true" RetryInterval="60"><Server CloneID="umjbf6mv" Co
+nnectTimeout="0" ExtendedHandshake="false" LoadBalanceWeight="2" MaxC
+onnections="-1" Name="swel3p_cl_app302_prod" WaitForContinue="false">
+<Transport Hostname="swel3p.bar.com" Port="8132" Protocol="http"/></S
+erver><PrimaryServers><Server Name="New_2"/><Server Name="New_1"/></P
+rimaryServers></ServerCluster>
<!-- APP URI groups point at urls -->
<UriGroup Name="event/event.war_URIs"><Uri AffinityCookie="JSESSIO
+NID_302" Name="/event/*.jsp"/><Uri AffinityCookie="JSESSIONID_302" Na
+me="/event/ThreadedEventServlet"/></UriGroup>
<!-- Route statement bring it all together -->
<Route ServerCluster="cl_app302_prod" UriGroup="event/event.war_URI
+s" VirtualHostGroup="foobarcom"/></Config>
-Nitrox