Tests p:text-replace (ported from XQuery tests on fn-replace.
Test ab-text-replace-057.xml is expected to fail with error code err:XD0030
.
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:output port="result"/>
<p:text-replace pattern="" replacement="replacement">
<p:with-input>
<p:inline content-type="text/plain">input</p:inline>
</p:with-input>
</p:text-replace>
<p:wrap-sequence wrapper="text"/>
</p:declare-step>
Tests for p:text-replace