<?xml version="1.0"?>

<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">

    <map:pipelines>

        <map:pipeline>
            <map:match type="uri" pattern="*">
                <map:include label="standardPipeline"/>
            </map:match>
        </map:pipeline>

        <map:pipeline>
            <map:include label="standardPipeline"/>
        </map:pipeline>

    </map:pipelines>

    <map:include-definitions>

        <map:include-definition label="standardPipeline">

            <map:generate type="textfile" src="{../dataUri}">
                <map:parameter name="escapeLTonly" value="true"/>
                <map:parameter name="escapeEntities" value="true"/>
             </map:generate>

            <map:transform type="xslt" src="constant(BX_LIBS_DIR)editors/oneform/oneform.xsl">
                <map:parameter name="webroot" value="constant(BX_WEBROOT)"/>
                <map:parameter name="url" value="{1}"/>
                <map:parameter name="dataUri" value="{../dataUri}"/>
                <map:parameter name="returnPostCode" value="{../returnPostCode}"/>
                <map:parameter name="id" value="{../id}"/>
                 <map:parameter type="options" name="registerPhpFunctions" value="true"/>
            </map:transform>
            <map:serialize type="xhtml">
                <map:parameter name="stripScriptCDATA" value="true"/>
            </map:serialize>

        </map:include-definition>

    </map:include-definitions>

</map:sitemap>
