<?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 <t:code>exclude-inline-prefixes</t:code>-006</t:title>

<t:pipeline>
<p:declare-step version='1.0' name="main"
		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">
  <p:output port="result"/>
  <p:identity>
    <p:input port="source" xmlns:test="http://www.test.com">
      <p:inline exclude-inline-prefixes="t p c err test"><test:doc/></p:inline>
    </p:input>
  </p:identity>

  <p:wrap-sequence wrapper="wrapper"/>

  <p:escape-markup/>

</p:declare-step>
</t:pipeline>

<t:output port="result">
  <wrapper>&lt;test:doc xmlns:test="http://www.test.com"/&gt;</wrapper>
</t:output>
</t:test>
