<?xml version="1.0"?>
<!--

    The contents of this file are subject to the license and copyright
    detailed in the LICENSE and NOTICE files at the root of the source
    tree and available online at

    http://www.dspace.org/license/

-->

<!--
   Google Analytics
-->

<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
    <map:components>
        <map:transformers>
            <map:transformer name="Navigation" src="org.dspace.app.xmlui.aspect.statisticsGoogleAnalytics.Navigation"/>
            <map:transformer name="StatisticsGoogleAnalyticsTransformer" src="org.dspace.app.xmlui.aspect.statisticsGoogleAnalytics.StatisticsGoogleAnalyticsTransformer"/>
        </map:transformers>
    </map:components>

    <map:pipelines>
        <map:pipeline>

            <map:generate/>

            <map:transform type="Navigation"/>

            <!-- Item pages -->
            <map:match pattern="handle/*/*/google-stats">
                <map:transform type="StatisticsGoogleAnalyticsTransformer">
                </map:transform>
            </map:match>

            <map:serialize type="xml"/>

        </map:pipeline>
    </map:pipelines>
</map:sitemap>
