Skip to content
Snippets Groups Projects
Commit dd8bb061 authored by David Maus's avatar David Maus
Browse files

Eingabedokument validieren

parent aabef4b0
No related branches found
No related tags found
No related merge requests found
...@@ -8,10 +8,22 @@ ...@@ -8,10 +8,22 @@
<p:serialization port="result" indent="true"/> <p:serialization port="result" indent="true"/>
<p:validate-with-schematron name="validate-kitodo">
<p:input port="source">
<p:pipe step="main" port="source"/>
</p:input>
<p:input port="schema">
<p:document href="../schema/kitodo.sch"/>
</p:input>
<p:input port="parameters">
<p:empty/>
</p:input>
</p:validate-with-schematron>
<p:xslt name="normalize"> <p:xslt name="normalize">
<p:with-param name="objectId" select="$objectId"/> <p:with-param name="objectId" select="$objectId"/>
<p:input port="source"> <p:input port="source">
<p:pipe step="main" port="source"/> <p:pipe step="validate-kitodo" port="result"/>
</p:input> </p:input>
<p:input port="stylesheet"> <p:input port="stylesheet">
<p:document href="../xslt/mets.xsl"/> <p:document href="../xslt/mets.xsl"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment