From c096104e7badace90fca72b969e8a4efb4be9aa5 Mon Sep 17 00:00:00 2001 From: David Maus <maus@hab.de> Date: Fri, 16 Feb 2018 10:23:18 +0100 Subject: [PATCH] Normalisierte Signatur ist erforderlicher Parameter --- src/xproc/publish.xpl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/xproc/publish.xpl b/src/xproc/publish.xpl index ffb2810..6b88fa3 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"> -- GitLab