Git Product home page Git Product logo

htmlreports's Introduction

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

htmlreports's People

Contributors

fr4nze avatar gimsieke avatar haendwic avatar kweidner avatar mkraetke avatar pglatza avatar pmarkwart avatar polypunkt avatar sbulka avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

htmlreports's Issues

introduce parameter 'report-summary-components' for xsl/create-success-messages.xsl

Introduce a boolean parameter for said XSLT and an option 'detailed-success-messages' for tr:patch-svrl. If the option is not set (or is at the default value of an empty string), then also a parameter with the same name should be taken into consideration. It can then be set in the configuration file.

It should then include in /c:messages, in addition to the existing summary c:message, an XML structure like

<c:errors xml:lang="en">
  <c:error severity="warning" code="tr:XY001" count="44">Error message</c:error>
  …
</c:errors>

include in more specific schematron files is ignored

When I insert an include in a more specific level of the cascade, the contents of the included schematron file are ignored. Even the most common rules have always more precedence than the included schematron files of the more specific schematron. This odd behaviour was introduced with commit db73aa1
@pglatza

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.