title: xslt transforming xml to text by skipping some elements
body: <p>I want to transform an XML file to text but I want also some elements not to be transformed.</p>
  
  <p>e.g Input:</p>
  
  <pre><code>  &lt;parent&gt; Some parent text
       &lt;child1&gt;child text&lt;/child&gt;
         more parent text
    &lt;/parent&gt;
  </code></pre>
  
  <p>expected output:</p>
  
  <pre><code>  Some parent text &lt;child1&gt;child text&lt;/child&gt; more parent text
  </code></pre>
  
  <p>my current XSLT:</p>
  
  <pre><code>  &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  xmlns:msxsl="urn:schemas-microsoft-com:xslt"&gt;
     &lt;xsl:output method="text" indent="no"/&gt;
  
        &lt;xsl:template match="node()"&gt;
          &lt;xsl:copy&gt;
             &lt;xsl:apply-templates select="node()"/&gt;
          &lt;/xsl:copy&gt;
        &lt;/xsl:template&gt; 
  
        &lt;xsl:template match="child1"&gt;
           &lt;xsl:element name="child1"&gt;
               &lt;xsl:apply-templates select="node()"/&gt;
           &lt;/xsl:element&gt;
        &lt;/xsl:template&gt;
  
    &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>But what what I get is:</p>
  
  <pre><code>Some parent text child text more parent text
  </code></pre>
  
  <p>is there anyway I can fix this to include some child elements?</p>