title: How to exclude sub-nodes in an AEM package using filters
body: <p>I am creating an AEM content package and the resulting zip has the requisite META-INF directory with the filter.xml.</p>
  
  <p>The package has content which is organized like so:</p>
  
  <pre><code>/jcr_root/apps/appgroup/myapp/components
  /jcr_root/apps/appgroup/myapp/i18n/en_us.xml
  /jcr_root/apps/appgroup/myapp/i18n/es_mx.xml
  /jcr_root/apps/appgroup/myapp/templates
  </code></pre>
  
  <p>The filter.xml looks like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;workspaceFilter version="1.0"&gt;
      &lt;filter root="/apps/appgroup/myapp"&gt;
          &lt;exclude pattern="/apps/appgroup/myapp/i18n(/.*)?" /&gt;
      &lt;/filter&gt;
  &lt;/workspaceFilter&gt;
  </code></pre>
  
  <p>Despite having the exclude pattern, the i18n node still gets deployed into the CRX when the package is installed.  Shouldn't the filter exclude the i18n node?</p>
  
  <p>Ultimately, I would like to deploy just the <code>en_us</code> node and have the filters block any other languages.</p>
  
  <p>My understanding is that the filter taken into consideration during install and not during compilation.  Is this correct?</p>