<
p:declare-step xmlns:p=
"http://www.w3.org/ns/xproc" xmlns:px=
"http://www.daisy.org/ns/pipeline/xproc" xmlns:pxi=
"http://www.daisy.org/ns/pipeline/xproc/internal" version=
"1.0" type=
"pxi:dtbook-repair">
<
p:input port=
"source" px:media-type=
"application/x-dtbook+xml" sequence=
"false">
<
p:documentation xmlns=
"http://www.w3.org/1999/xhtml">
<
p>A single DTBook document</
p>
</
p:documentation>
</
p:input>
<
p:output port=
"result" px:media-type=
"application/x-dtbook+xml" sequence=
"false">
<
p:documentation xmlns=
"http://www.w3.org/1999/xhtml">
<
p>The result DTBook document</
p>
</
p:documentation>
</
p:output>
<
p:xslt>
<
p:input port=
"stylesheet"><
p:document href=
"xsl/repair-levelnormalizer.xsl"/></
p:input>
<
p:input port=
"parameters"><
p:empty/></
p:input>
</
p:xslt>
<
p:xslt>
<
p:input port=
"stylesheet"><
p:document href=
"xsl/repair-levelsplitter.xsl"/></
p:input>
<
p:input port=
"parameters"><
p:empty/></
p:input>
</
p:xslt>
<
p:xslt>
<
p:input port=
"stylesheet"><
p:document href=
"xsl/repair-add-levels.xsl"/></
p:input>
<
p:input port=
"parameters"><
p:empty/></
p:input>
</
p:xslt>
<
p:xslt>
<
p:input port=
"stylesheet"><
p:document href=
"xsl/repair-remove-illegal-headings.xsl"/></
p:input>
<
p:input port=
"parameters"><
p:empty/></
p:input>
</
p:xslt>
<
p:xslt>
<
p:input port=
"stylesheet"><
p:document href=
"xsl/repair-flatten-redundant-nesting.xsl"/></
p:input>
<
p:input port=
"parameters"><
p:empty/></
p:input>
</
p:xslt>
<
p:xslt>
<
p:input port=
"stylesheet"><
p:document href=
"xsl/repair-complete-structure.xsl"/></
p:input>
<
p:input port=
"parameters"><
p:empty/></
p:input>
</
p:xslt>
<
p:xslt>
<
p:input port=
"stylesheet"><
p:document href=
"xsl/repair-lists.xsl"/></
p:input>
<
p:input port=
"parameters"><
p:empty/></
p:input>
</
p:xslt>
<
p:xslt>
<
p:input port=
"stylesheet"><
p:document href=
"xsl/repair-idref.xsl"/></
p:input>
<
p:input port=
"parameters"><
p:empty/></
p:input>
</
p:xslt>
<
p:xslt>
<
p:input port=
"stylesheet"><
p:document href=
"xsl/repair-remove-empty-elements.xsl"/></
p:input>
<
p:input port=
"parameters"><
p:empty/></
p:input>
</
p:xslt>
<
p:xslt>
<
p:input port=
"stylesheet"><
p:document href=
"xsl/repair-pagenum-type.xsl"/></
p:input>
<
p:input port=
"parameters"><
p:empty/></
p:input>
</
p:xslt>
<
p:xslt>
<
p:input port=
"stylesheet"><
p:document href=
"xsl/repair-metadata.xsl"/></
p:input>
<
p:input port=
"parameters"><
p:empty/></
p:input>
</
p:xslt>
</
p:declare-step>