Can I give a class name as an XML element? : <p>I'm looking to use XML to fill in some definitions of objects. I really want the file to be able to give a class name in a property itself:</p>

<pre class="lang-xml prettyprint-override"><code>&lt;Object&gt;
  &lt;Name&gt;Something&lt;/Name&gt;
  &lt;ObjClass&gt;SomeClass&lt;/ObjClass&gt;
&lt;/Object&gt;
</code></pre>

<p>where <code>SomeClass</code> is the name of a class defined in code somewhere else that gets instantiated when the file is deserialized (or the class is static, I haven't decided). Is that possible?</p>
