title: Can you copy property or constructor-arg values from objects in Spring.NET XML?
body: <p>I believe I came across this a couple months ago, but now I'm having trouble finding the answer.  Perhaps someone can just point me to the right section in the <a href="http://springframework.net/documentation.html" rel="nofollow noreferrer">documentation</a>?</p>
  
  <p>Using <a href="http://springframework.net/" rel="nofollow noreferrer">Sprint.NET</a>, I'm combining remote XML files into a single application context where the engine objects are separate from the business rule objects.  The problem is some of the business rules are values, not objects, which are needed by <code>&lt;property&gt;</code> and <code>&lt;constructor-arg&gt;</code> nodes in the engine xml:</p>
  
  <pre><code>&lt;object name="Engine"&gt;
      &lt;constructor-arg index="0" value="business rule" /&gt;
  &lt;/object&gt;
  </code></pre>
  
  <p>Either referencing a property of another object (use <code>expression</code> attribute instead of <code>value</code>?) or perhaps some specialized name/value list (e.g. Spring's version of to <code>&lt;appsettings&gt;</code>, whatever that is) would work.</p>