<?xml version="1.0" encoding="UTF-8"?>
<rules
    xmlns="http://namespaces.plone.org/diazo"
    xmlns:css="http://namespaces.plone.org/diazo/css"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <theme href="theme.html" />
    <theme href="othertheme.html" if-path="news"/>

    <replace content='/html/head/title' theme='/html/head/title' />
    <replace content='//h1[class=documentFirstHeading]' theme='/html/body/h1' />
    <after content='/html/head/link' theme-children='/html/head' />

    <after theme-children="/html/head">
        <script><xsl:value-of select="$stringParam" /></script>
    </after>
    <after theme-children="/html/head" if="$boolParam">
        <script>bool param on</script>
    </after>
    <after theme-children="/html/head" if="$requestParam = 'on'">
        <script>request param on</script>
    </after>
    <after theme-children="/html/head">
        <script id="contextParam"><xsl:value-of select="$contextParam" /></script>
    </after>

</rules>
