Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
sch
 
 
 
 
 
 
xpl
 
 
xsl
 
 
 
 
 
 

README.md

htmlreports

XProc steps for RelaxNG and Schematron validation and HTML reports

tr:patch-svrl

Synopsis

<tr:patch-svrl name="htmlreport" xmlns:tr="http://transpect.io">
    <p:input port="source" primary="true"/>                         <!-- HTML document with @srcpath attributes -->
    <p:input port="reports" sequence="true" primary="false"/>       <!-- reports as c:errors and svrl:schematron-output -->
    <p:input port="params" primary="false"/>                        <!-- parameters, expects a c:param-set -->
    <p:output port="result" primary="true"/>                        <!-- HTML report -->
    <p:output port="secondary" sequence="true" primary="false"/>    <!-- collected messages as tr:message -->
    <p:with-option name="report-title" select="'my report title'"/> <!-- 'xs:string' -->
    <p:with-option name="show-adjusted-srcpath" select="'yes'"/>    <!-- 'yes'|'no' -->
    <p:with-option name="show-step-name" select="'no'"/>            <!-- 'yes'|'no' -->
    <p:with-option name="severity-default-name" select="'warning'"/><!-- xs:string -->
    <p:with-option name="debug" select="'yes'"/>                    <!-- 'yes'|'no' -->
    <p:with-option name="debug-dir-uri"/>                           <!-- URI -->
    <p:with-option name="status-dir-uri"/>                          <!-- URI -->
  </tr:patch-svrl>

Import URI

http://transpect.io/htmlreports/xpl/patch-svrl.xpl

Dependencies

Description

This step patches an error report(s) into an HTML document. Permitted formats for the error report are SVRL, XProc c:errors or both combined within a c:reports document. To provide a name, the top-level element should carry an @tr:rule-family attribute

About

XProc steps for RelaxNG and Schematron validation and HTML reports

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.