<?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 p:identity-step-002</t:title>

<t:description xmlns="http://www.w3.org/1999/xhtml">
  <p>Tests using a select attribute on p:identity input source port</p>    
</t:description>

<t:input port='source'>
<doc>
<?pi test?>
<p>This is a p.</p>
</doc>
</t:input>

<t:pipeline>
	<p:pipeline version='1.0' name="pipeline"
	            xmlns:p="http://www.w3.org/ns/xproc">
	   <p:identity name="test1">
	       <p:input port="source" select="/doc/p"/>
	   </p:identity>

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

<t:output port='result'>
<p>This is a p.</p>
</t:output>

</t:test>

