diff --git a/src/xproc/publish.xpl b/src/xproc/publish.xpl
index ffb281068115cd0c1b31390132e61aab1b15b13b..6b88fa327944673c670b92ee85954093af6b4949 100644
--- a/src/xproc/publish.xpl
+++ b/src/xproc/publish.xpl
@@ -4,16 +4,18 @@
   <p:input  port="source" primary="true" sequence="false"/>
   <p:output port="result" primary="true" sequence="false"/>
 
+  <p:option name="objectId" required="true"/>
+
+  <p:serialization port="result" indent="true"/>
+
   <p:xslt name="normalize">
+    <p:with-param name="objectId" select="$objectId"/>
     <p:input port="source">
       <p:pipe step="main" port="source"/>
     </p:input>
     <p:input port="stylesheet">
       <p:document href="../xslt/mets.xsl"/>
     </p:input>
-    <p:input port="parameters">
-      <p:empty/>
-    </p:input>
   </p:xslt>
 
   <p:validate-with-xml-schema assert-valid="true">