<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<!--
// // See license.txt for license information. // // includes.xml // // 19-Aug-2005 phamilton Created //
-->

<foreach name="includes">
    <vector>methods</vector>
    <blocks>
        <foreach name="implementationincludes">
            <vector>implementations</vector>
            <blocks>
<!--
include test framework for any tests.
-->

                <foreach name="testincludes">
                    <conditions>
                        <objecthasmemberequal>
                            <membername>type</membername>
                            <membervalue>web</membervalue>
                        </objecthasmemberequal>
                    </conditions>
                    <vector>sections</vector>
                    <blocks>
                        <foreach name="subsections">
                            <vector>sections</vector>
                            <blocks>
                                <text name="webtest">
                                    <conditions>
                                        <objecthasmemberequal>
                                            <membername>type</membername>
                                            <membervalue>webtest</membervalue>
                                        </objecthasmemberequal>
                                    </conditions>
<!--
here is where we would include for test
-->

                                    <content/>
                                </text>
                            </blocks>
                            <structure>\webtest</structure>
                        </foreach>
                    </blocks>
                    <structure>\subsections</structure>
                </foreach>
<!--
include any includes that have correct boost attributes.
-->

                <foreach name="bincludes">
                    <vector>includes</vector>
                    <conditions>
                        <objecthasmemberequal>
                            <membername>type</membername>
                            <membervalue>web</membervalue>
                        </objecthasmemberequal>
                        <vectorhasany>
                            <vector>attributes</vector>
                            <condition>
                                <objecthasmemberequal>
                                    <membername>name</membername>
                                    <membervalue>boost_$(boostv)</membervalue>
                                </objecthasmemberequal>
                            </condition>
                        </vectorhasany>
                    </conditions>
                    <blocks>
                        <stringmember name="name">
                            <membername>name</membername>
                        </stringmember>
                    </blocks>
                    <structure>#include "\name"\n</structure>
                </foreach>
<!--
include any includes that don't have any attributes.
-->

                <foreach name="includes">
                    <vector>includes</vector>
                    <conditions>
                        <objecthasmemberequal>
                            <membername>type</membername>
                            <membervalue>web</membervalue>
                        </objecthasmemberequal>
                        <objecthasany>
                            <membername>attributes</membername>
                            <membertype>attribute</membertype>
                            <fail/>
                        </objecthasany>
                    </conditions>
                    <blocks>
                        <stringmember name="name">
                            <membername>name</membername>
                        </stringmember>
                    </blocks>
                    <structure>#include "\name"\n</structure>
                </foreach>
            </blocks>
            <structure>\testincludes\bincludes\includes</structure>
        </foreach>
    </blocks>
    <structure>\implementationincludes</structure>
</foreach>