title: Can you declare and use a variable inside an XML without using XSL to transform/parse the XML
body: <p>Say you have an XML element you want to read in an app, however you have multiple environments where the path of dependent files may change</p>
  
  <pre><code>&lt;root&gt;
    &lt;element ID="MyConfigFile" url="c:\Program Files\MyProgram\resources\MyProgramconfig.xml" /&gt;
    &lt;element ID="Executable" url="c:\Program Files\MyProgram\Prog.exe" /&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>...so you would want to make a reference to the relative directory</p>
  
  <p>@path="c:\Program Files\MyProgram\"</p>
  
  <pre><code>&lt;root&gt;
    &lt;element ID="MyConfigFile" url="@path\resources\MyProgramconfig.xml" /&gt;
    &lt;element ID="Executable" url="@path\Prog.exe" /&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>Can you use a variable declared in the XML itself to reference the relative directory path?</p>