label-elements 001 (AB)

Testing p:label-elements.

Test ab-label-elements-001.xml is expected to pass.

The pipeline

      <p:declare-step xmlns:p="" version="3.0">
         <p:output port="result"/>
         <p:input port="source">
            <doc xmlns="">
               <p>Some para.</p>
               <p>Some other para.</p>
            <p:output port="result"/>
            <p:with-input select="//*[@xml:id]"/>
MorganaXProc passing

Schematron validation

      <s:schema xmlns:s="">
         <s:ns uri="" prefix="c"/>
            <s:rule context="/">
               <s:assert test="c:result">The document root is not c:result.</s:assert>
               <s:assert test="c:result/text()='4'">Value of c:result is not '4'.</s:assert>

Revision history

04 May 2019, Achim Berndzen

Ported test from 1.0 test suite