title: how to remove &#10; in xml with xsl transformation
body: <p>goto this link <a href="https://stackoverflow.com/questions/15195405/convert-xml-file-to-attribute-xml/15196154#15196154">Convert XML file to attribute XML</a><br>
  and copy/past my question xml file(with name "xml_simple.xml") <br>
  and copy/past answer xslt then (with name "xslt4convert.xsl")<br>
  copy/past this php file  <br>
  php code:-</p>
  
  <pre><code>&lt;?php
      $sourcedoc = new DOMDocument();
      $sourcedoc-&gt;load('xml_simple.xml');
      $stylesheet = new DOMDocument();
      $stylesheet-&gt;load('xslt4convert.xsl');
  
      // create a new XSLT processor and load the stylesheet
      $xsltprocessor = new XSLTProcessor();
      $xsltprocessor-&gt;importStylesheet($stylesheet);
  
      // save the new xml file
      file_put_contents('xml_converted.xml', $xsltprocessor-&gt;transformToXML($sourcedoc));
  
  echo ' xml convert';
  ?&gt;
  </code></pre>
  
  <p>and run this php file its generate new xml file <br>open this file to notepad<br>
  <code>&amp;#10;</code> in every attribute value
  <br>
  its display one space in browser how to delete this <code>&amp;#10;</code><br>
  &#10; is display in notepad if i open xml file in to notepad<br>
  thanks...</p>