Commit 8392afbd authored by Wendell Piez's avatar Wendell Piez

Adding testing pipeline

parent 87b30fc2
<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step xmlns:p=""
xmlns:c="" version="1.0"
type="xsw:html-header-promote" name="html-header-promote">
<!-- XSweet: Apply header promotion XSLT chain into a single XProc call -->
<!-- Input: an HTML typescript file with no headers -->
<!-- Output: a copy, with headers promoted -->
<!-- Note: unlike the 'chooser' header promotion macro XSLT, this XProc is wired up to 'property-based' header promotion. -->
<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 port="_A_digested" primary="false">
<p:pipe port="result" step="digest-paragraphs"/>
<p:output port="_B_headers-promoted" primary="false">
<p:pipe port="result" step="apply-the-header-mapping-xslt"/>
<p:output port="_X_escalator-xslt" primary="false">
<p:pipe port="result" step="escalator-xslt"/>
<p:serialization port="_A_digested" indent="true" omit-xml-declaration="true"/>
<p:serialization port="_B_headers-promoted" indent="true" omit-xml-declaration="true"/>
<p:serialization port="_X_escalator-xslt" indent="true" omit-xml-declaration="true"/>
<p:serialization port="_Z_FINAL" indent="true" omit-xml-declaration="true"/>
<p:identity name="in"/>
<!-- First, reduce the input to a "weighted profile" of its paragraph styles -->
<p:xslt name="digest-paragraphs">
<p:input port="stylesheet">
<p:document href="digest-paragraphs.xsl"/>
<!-- Then generate an XSLT stylesheet from it -->
<p:xslt name="escalator-xslt">
<p:input port="stylesheet">
<p:document href="make-header-escalator-xslt.xsl"/>
<!-- We apply the stylesheet we have generated to the original doc -->
<p:xslt name="apply-the-header-mapping-xslt">
<p:input port="source">
<p:pipe port="result" step="in"/>
</p:input><p:input port="stylesheet">
<p:pipe port="result" step="escalator-xslt"/>
<p:identity name="final"/>
<!--<p:xslt name="">
<p:input port="stylesheet">
<xsl:stylesheet version="2.0"
\ 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