<?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 wrap-010</t:title>
  
  <t:description xmlns="http://www.w3.org/1999/xhtml">                                                              
    <p>Tests wrapper-namespace.</p>
  </t:description>     
  
  <t:input port='source'>
    <document>
      <element/>
    </document>
  </t:input>
  
  <t:pipeline>
    <p:pipeline version='1.0'>
      
      <p:wrap match="element" wrapper="wrapper" wrapper-namespace="http://baz.com"/>
      
    </p:pipeline>
  </t:pipeline>
  
  <t:output port='result'>
    <document>
      <baz:wrapper xmlns:baz="http://baz.com">
        <element/>
      </baz:wrapper>
    </document>
  </t:output>
  
</t:test>

