<
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-narrator">
<
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:option name=
"publisher" select=
"''">
<
p:documentation xmlns=
"http://www.w3.org/1999/xhtml">
<
h2>Publisher</
h2>
<
p>Publisher to be added as dc:Publisher in the dtbook</
p>
</
p:documentation>
</
p:option>
<
p:xslt>
<
p:input port=
"stylesheet"><
p:document href=
"xsl/narrator-metadata.xsl"/></
p:input>
<
p:with-param name=
"publisherValue" select=
"$publisher"/>
</
p:xslt>
<
p:xslt>
<
p:input port=
"stylesheet"><
p:document href=
"xsl/narrator-headings-r14.xsl"/></
p:input>
<
p:input port=
"parameters"><
p:empty/></
p:input>
</
p:xslt>
<
p:xslt>
<
p:input port=
"stylesheet"><
p:document href=
"xsl/narrator-headings-r100.xsl"/></
p:input>
<
p:input port=
"parameters"><
p:empty/></
p:input>
</
p:xslt>
<
p:xslt>
<
p:input port=
"stylesheet"><
p:document href=
"xsl/narrator-title.xsl"/></
p:input>
<
p:input port=
"parameters"><
p:empty/></
p:input>
</
p:xslt>
<
p:xslt>
<
p:input port=
"stylesheet"><
p:document href=
"xsl/narrator-lists.xsl"/></
p:input>
<
p:input port=
"parameters"><
p:empty/></
p:input>
</
p:xslt>
</
p:declare-step>