Replace the content of an element.
Test nw-make-absolute-uris-002.xml is expected to pass.
It requires the following features: p:http-request.
<p:declare-step xmlns:c="http://www.w3.org/ns/xproc-step" xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-inline-prefixes="#all" version="3.0">
<p:output port="result"/>
<p:make-absolute-uris match="info/@uri">
<p:with-input>
<doc xml:base="http://example.com/path/">
<info uri="to/thing"/>
</doc>
</p:with-input>
</p:make-absolute-uris>
</p:declare-step>
<s:schema xmlns="http://www.w3.org/1999/xhtml" xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:s="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
<s:ns prefix="p" uri="http://www.w3.org/ns/xproc"/>
<s:ns prefix="c" uri="http://www.w3.org/ns/xproc-step"/>
<s:pattern>
<s:rule context="/*">
<s:assert test="self::doc">The root is not doc.</s:assert>
<s:assert test="info/@uri = 'http://example.com/path/to/thing'">The uri is incorrect.</s:assert>
</s:rule>
</s:pattern>
</s:schema>
Add test for p:make-absolute-uris.