title: skip over nodes with XSLT
body: <p>Is it possible to skip over nodes while processing a xml file? For example: say I have the following xml code:</p>
  
  <pre><code>&lt;mycase desc=""&gt;
    &lt;caseid&gt; id_1234 &lt;/caseid&gt;
    &lt;serid ref=""/&gt;    
    ......
    ......
    ......  
  &lt;/mycase&gt;
  </code></pre>
  
  <p>and I want to make it look like this:</p>
  
  <pre><code>&lt;mycase desc="" caseid="id_1234"&gt;
   .....
   .....
  &lt;/mycase&gt;
  </code></pre>
  
  <p>Currently I'm doing this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  &lt;xsl:stylesheet version="2.0" exclude-result-prefixes="xs xdt err fn"
              xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
              xmlns:xs="http://www.w3.org/2001/XMLSchema"
              xmlns:fn="http://www.w3.org/2005/xpath-functions"
              xmlns:xdt="http://www.w3.org/2005/xpath-datatypes"
              xmlns:err="http://www.w3.org/2005/xqt-errors"&gt;
  
            &lt;xsl:output method="xml" indent="yes"/&gt;
            &lt;xsl:template match="/"&gt;
              &lt;xsl:apply-templates/&gt; 
            &lt;/xsl:template&gt;
  
           &lt;xsl:template match="mycase"&gt;          
              &lt;xsl:element name="mycase"&gt;
                 &lt;xsl:attribute name="desc"/&gt;
                 &lt;xsl:attribute name="caseid"&gt;
                   &lt;xsl:value-of select="caseid"/&gt;
                 &lt;/xsl:attribute&gt;
                &lt;xsl:apply-templates/&gt;
              &lt;/xsl:element&gt;
           &lt;/xsl:template&gt;
           ......
           ......
  </code></pre>
  
  <p>This does create what I want it to but because of <code>&lt;xsl:apply-templates/&gt;</code> it processes all the node. while I want it to skip processing caseid and serid all together. This also applys for other nodes, which will not be available in the new XML structure. 
  So how can I skip the nodes that I don't want to process using xslt.</p>