<?xml-stylesheet type="text/xsl" href="/style/testcase.xsl"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite"
        xmlns:p="http://www.w3.org/ns/xproc"
        xmlns:c="http://www.w3.org/ns/xproc-step"
        xmlns:err="http://www.w3.org/ns/xproc-error">

<t:title>Test optional features of p:xinclude #006</t:title>

<t:input port='source'>
<document>
  <xi:include xmlns:xi='http://www.w3.org/2001/XInclude'
	      href="../doc/xpath-xinclude-doc.xml"
              xpointer="xmlns(pfx=http://example.org/ns)xpath(/doc/pfx:p)"/>
</document>
</t:input>

<t:pipeline>
<p:pipeline version='1.0' name="pipeline">

<p:xinclude/>

</p:pipeline>
</t:pipeline>

<t:output port='result'>
<document>
  <p xmlns="http://example.org/ns">Last p</p>
</document>
</t:output>

</t:test>


