<?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"
        error="err:XC0068">

<t:title>Test p:template-013</t:title>


<t:input port='source'>
<doc/>
</t:input>

<t:input port='source'>
<doc/>
</t:input>

<t:pipeline>
<p:declare-step version='1.0' name="main">
<p:input port="source" sequence="true"/>
<p:input port="parameters" kind="parameter"/>
<p:output port="result"/>

<p:template>
  <p:input port="template">
    <p:inline>
      <template/>
    </p:inline>
  </p:input>
  <p:input port="source">
    <p:pipe step="main" port="source"/>
  </p:input>
</p:template>

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

</t:test>

