<?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:insert #010</t:title>

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

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

    <p:insert match="doc" position="last-child">
      <p:input port="insertion">
        <p:inline><p>New paragraph</p></p:inline>
      </p:input>
    </p:insert>

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

<t:output port='result'>
  <doc><p>New paragraph</p></doc>
</t:output>

</t:test>


