Exactly, but I can't figure out how mwl-cfindrsp.xsl would be able to tell what the original calling ae in the request was. The dataset it's operating on seems to only be the response item with the other AE in it.
My AE specific file would look something like this:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" indent="no"/>
<xsl:template match="/dataset">
<dataset>
<attr tag="00400100" vr="SQ">
<item>
<attr tag="00400001" vr="CS">
<xsl:value-of select="'US2'"/>
</attr>
</item>
</attr>
</dataset>
</xsl:template>
</xsl:stylesheet>
The dataset this is operating on looks something like this:
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
</attr>
<attr tag="00400100" vr="SQ" pos="-1" name="Scheduled Procedure Step Sequence" len="-1">
<item id="1" pos="492" len="-1">
<attr tag="00400001" vr="CS" pos="510" name="Scheduled Station AE Title" vm="1" len="3">US3</attr>
</attr>
</dataset>
I trimmed a lot of information related to patient, procedure code, etc for the scheduled item, but none of that referred to the data that was in the original request.