<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:dp="http://www.datapower.com/extensions"
  extension-element-prefixes="dp"
>
  <dp:output-mapping href="store:///pkcs7-convert-input.ffd"/>

  <xsl:template match="/">

    <xsl:variable name="file">
      <dp:url-open response="binaryNode"
        target="{concat('local:///DocRoot',dp:variable('var://service/URI'))}"
      />
    </xsl:variable>

    <object>
      <message>
        <xsl:copy-of select="$file/result/binary/child::node()"/>
      </message>
    </object>
  </xsl:template>
  
</xsl:stylesheet>