title: Spring config Import resource with exclusions
body: <p>I am using Spring to configure my application and wish to import a particular resource A. Now, resource A has another  tag in it which includes resource B. But, I wish to include resource A only by itself without its subsequent imports. Is there any way to do so?</p>
  
  <p>For eg, here is my configuration:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  ....
  ...
  &lt;import resource="A.xml" &gt;
  </code></pre>
  
  <p>Here is resource A:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  ....
  ....
  &lt;import resource="B.xml" &gt;
  </code></pre>
  
  <p>As mentioned, I need to import A.xml and exclude B.xml. Is it possible to do so?</p>
  
  <p>Thanks.</p>