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

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

<foreach name="using">
    <vector>methods</vector>
    <blocks>
        <foreach name="using">
            <vector>implementations</vector>
            <blocks>
<!--
choose using's that have the correct boost atrribute.
-->

                <foreach name="bcppusing">
                    <vector>using</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>using namespace \name;\n</structure>
                </foreach>
<!--
choose those blowcks which don't have ant attributes
-->

                <foreach name="cppusing">
                    <vector>using</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>using namespace \name;\n</structure>
                </foreach>
            </blocks>
            <structure>\bcppusing\cppusing</structure>
        </foreach>
    </blocks>
    <structure>\using</structure>
</foreach>