Influencing namespace declaration in HTTP PUT

Following XProc doing a HTTP PUT

<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
xmlns:c="http://www.w3.org/ns/xproc-step"
    version="1.0">
    <p:output port="result"/>
    <p:http-request omit-xml-declaration="false" encoding="UTF-8">
        <p:input port="source">
            <p:inline>
                <c:request
href="http://localhost:8888/exist/rest/db/fruits/Almonds.xml"
method="PUT">
                    <c:body content-type="application/xml" >
                        <product>
                            <category>fruits</category>
                            <item>Almonds</item>
                            <inventory>
                                <sku>AlmofruiIV75Lm</sku>
                                <price>0.75</price>
                                <inventory>915</inventory>
                            </inventory>
                            <vendor>TriCounty Produce</vendor>
                        </product>
                    </c:body>
                </c:request>
            </p:inline>
        </p:input>
    </p:http-request>
</p:declare-step>

leads to following PUTTED file using Calabash.
(PUT is not yet? supported by Calumet)

<product xmlns:c="http://www.w3.org/ns/xproc-step">
    <category>fruits</category>
    <item>Almonds</item>
    <inventory>
        <sku>AlmofruiIV75Lm</sku>
        <price>0.75</price>
        <inventory>915</inventory>
    </inventory>
    <vendor>TriCounty Produce</vendor>
</product>

Is there a way to exclude the xproc-step namespace declaration from the file?


-- 
Kind Regards,
Paul Hermans

Received on Monday, 12 April 2010 14:37:28 UTC