Testing p:label-elements.
Test ab-label-elements-008.xml is expected to pass.
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result">
   <p:input port="source">
      <doc>
         <element/>
      </doc>
   </p:input>
   <p:label-elements match="element" attribute="Q{{http://baz.com}}foo">
</p:declare-step>
<s:schema xmlns:s="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
   <s:ns uri="http://baz.com" prefix="baz">
   <s:pattern>
      <s:rule context="/">
         <s:assert test="doc/element/@baz:foo='_1'">Child 'element' of 'doc' does not have @baz:foo with '_1'.</s:assert>
      </s:rule>
   </s:pattern>
</s:schema>
Added attribute 'queryBinding' to schematron's schema.
Ported test from 1.0 test suite