I have this line:
<xsl:when test="document('foo.xml')/field_config/field_rename/field[@old_name = $name]/@new_name">
foo.xml:
<field_config>
<field_rename>
<field old_name="Modified" new_name="modification"/>
<field old_name="Created" new_name="creation"/>
</field_rename>
</field_config>
In general, what is this testing?