Depending on what you need, you may find DTD entities useful:
<!ENTITY spec "generatedSpec.xml">
<test spec="&spec;" name="Check Load Firmware Data Command" reuseloadeddomain="true">
</test>
You can declare entities before your document element.
You can also use entities to
include a piece of XML from an external file into your XML.
See more info
here[
^]