Step assert {http://www.daisy.org/ns/pipeline/xproc}

Example usage:

            <px:assert message="All d:file elements must have a media-type attribute. $1 and $2 more d:file elements is missing their media-type attribute." severity="ERROR" error-code="pxe:PEOU0002">
               <p:with-param name="param1" select="(/d:fileset/d:file[not(@media-type)])[1]/@href"/>
               <p:with-param name="param2" select="count(/d:fileset/d:file[not(@media-type)])-1"/>
           </px:assert>
        
Defined in: http://www.daisy.org/pipeline/modules/common-utils/library.xpl

Input Ports

PortDescription
source primary sequence

Output Ports

PortDescription
result primary sequence

Options

Local NameNamespace URIDefaultDescription
test''
test-count-min''
test-count-max''
error-code
message required
param1''
param2''
param3''
param4''
param5''
param6''
param7''
param8''
param9''