Commit 200699db authored by Wendell Piez's avatar Wendell Piez

Pipeline adjustments

parent ccbec5cb
Pipeline #9315 failed with stages
in 15 seconds
......@@ -88,19 +88,20 @@
<p:xslt name="hyperlinked">
<p:input port="stylesheet">
<p:document href="../HTMLevator/applications/local-fixup/hyperlink-inferencer.xsl"/>
<p:document href="../HTMLevator/applications/hyperlink-inferencer/hyperlink-inferencer.xsl"/>
</p:input>
</p:xslt>
<p:xslt name="ucp-macros">
<p:identity name="ucp-macros"/>
<!--<p:xslt name="ucp-macros">
<p:input port="stylesheet">
<p:document href="../HTMLevator/applications/local-fixup/ucp-text-macros.xsl"/>
<p:document href="../HTMLevator/applications/ucp-cleanup/ucp-text-macros.xsl"/>
</p:input>
</p:xslt>
</p:xslt>-->
<p:xslt name="ucp-adjusted">
<p:input port="stylesheet">
<p:document href="../HTMLevator/applications/local-fixup/ucp-mappings.xsl"/>
<p:document href="../HTMLevator/applications/ucp-cleanup/ucp-mappings.xsl"/>
</p:input>
</p:xslt>
......
<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step version="1.0"
xmlns:p="http://www.w3.org/ns/xproc"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:c="http://www.w3.org/ns/xproc-step"
xmlns:xsw="http://coko.foundation/xsweet"
type="xsw:xsweet-editoria-filter" name="xsweet-editoria-filter">
<!-- Implementing a mapping to modify an HTML document wrt @style and @class -->
<p:input port="source" primary="true"/>
<p:input port="parameters" kind="parameter"/>
<p:output port="_Z_FINAL" primary="true">
<p:pipe port="result" step="final"/>
</p:output>
<p:output port="_A_linebroken" primary="false">
<p:pipe port="result" step="break-paragraphs-at-breaks"/>
</p:output>
<p:output port="_C_mapping" primary="false">
<p:pipe port="result" step="editoria-basic"/>
</p:output>
<p:output port="_D_cleanup" primary="false">
<p:pipe port="result" step="editoria-reduce"/>
</p:output>
<p:serialization port="_Z_FINAL" indent="true" omit-xml-declaration="true"/>
<!-- Since Editoria doesn't recognize br, we break paragraphs around them. -->
<p:xslt name="break-paragraphs-at-breaks">
<p:input port="stylesheet">
<p:document href="p-split-around-br.xsl"/>
</p:input>
</p:xslt>
<p:xslt name="editoria-notes">
<p:input port="stylesheet">
<p:document href="editoria-notes.xsl"/>
</p:input>
</p:xslt>
<!-- Then, the ad-hoc mapping for Editoria. -->
<p:xslt name="editoria-basic">
<p:input port="stylesheet">
<p:document href="editoria-basic.xsl"/>
</p:input>
</p:xslt>
<!-- A cleanup pass to enforce global (fallback) mapping rules. -->
<p:xslt name="editoria-reduce">
<p:input port="stylesheet">
<p:document href="editoria-reduce.xsl"/>
</p:input>
</p:xslt>
<p:identity name="final"/>
<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step version="1.0"
xmlns:p="http://www.w3.org/ns/xproc"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:c="http://www.w3.org/ns/xproc-step"
xmlns:xsw="http://coko.foundation/xsweet"
type="xsw:xsweet-editoria-filter" name="xsweet-editoria-filter">
<!-- Implementing a mapping to modify an HTML document wrt @style and @class -->
<p:input port="source" primary="true"/>
<p:input port="parameters" kind="parameter"/>
<p:output port="_Z_FINAL" primary="true">
<p:pipe port="result" step="final"/>
</p:output>
<p:output port="_A_linebroken" primary="false">
<p:pipe port="result" step="break-paragraphs-at-breaks"/>
</p:output>
<p:output port="_C_mapping" primary="false">
<p:pipe port="result" step="editoria-basic"/>
</p:output>
<p:output port="_D_cleanup" primary="false">
<p:pipe port="result" step="editoria-reduce"/>
</p:output>
<p:serialization port="_Z_FINAL" indent="true" omit-xml-declaration="true"/>
<!-- Since Editoria doesn't recognize br, we break paragraphs around them. -->
<p:xslt name="break-paragraphs-at-breaks">
<p:input port="stylesheet">
<p:document href="p-split-around-br.xsl"/>
</p:input>
</p:xslt>
<!--<p:xslt name="editoria-notes">
<p:input port="stylesheet">
<p:document href="editoria-notes.xsl"/>
</p:input>
</p:xslt>-->
<!-- Then, the ad-hoc mapping for Editoria. -->
<p:xslt name="editoria-basic">
<p:input port="stylesheet">
<p:document href="editoria-basic.xsl"/>
</p:input>
</p:xslt>
<!-- A cleanup pass to enforce global (fallback) mapping rules. -->
<p:xslt name="editoria-reduce">
<p:input port="stylesheet">
<p:document href="editoria-reduce.xsl"/>
</p:input>
</p:xslt>
<p:identity name="final"/>
</p:declare-step>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment