Location: PHPKode > projects > PEAR::HTML_Template_Xipe - SimpleTemplate > examples/xmlConfig/config.xml
<?xml version="1.0" ?>

<simpletemplate>
    <options override="yes">
        <delimiter begin="[" end="]"/>
        <autoBraces value="true"/>
        <locale value="en"/>

        <cache>
            <time value="10" unit="minutes"/>
        </cache>

    </options>




<!--

    !!!!!!!
    from here
    this section is not implemented yet
    only planned !!!!!!!

-->

    <!--    preFilter - register any pre filter here
            override -          ????
            registerOnlyOnce -  yes or no, this takes care of not registering one filter multiple times
                                it's just not to loose performance
            inheritOptions -    this inherits the options from the SimpleTemplate object automatically
    -->
    <preFilter override="no"
                registerOnlyOnce="yes"
                inheritOptions="yes">
        <register function="removeHtmlComments" object="tplFilter" />
        <register function="removeCStyleComments" object="tplFilter" />
        <register function="addIfBeforeForeach" object="tplFilter">
            <options inherit="SimpleTemplate ????">
              <option beginDelimiter="{" endDelimiter="}" />
            </options>
        </register>

        <!--    unregister -    this prevents from calling the filter given in function,
                                no matter from which object/class
        -->
        <unregister function="xxx" />

    </preFilter>

</simpletemplate>
Return current item: PEAR::HTML_Template_Xipe - SimpleTemplate