Dear Friends,
     We have a usecase like the following,

<population>


    <person id="1" employed="no">
        <plan selected="yes">
            <act type="h6" x="9427476.50229" y="-135180.91624"
end_time="06:00:00" />
            <leg mode="car">
            </leg>
            <act type="w10" x="9454368.60405" y="-135416.81187"
end_time="16:00:00" />
            <leg mode="car">
            </leg>
            <act type="h6" x="9427476.50229" y="-135180.91624" />
        </plan>

    </person>



    <person id="10" employed="no">
        <plan selected="yes">
            <act type="h6" x="9427476.50229" y="-135180.91624"
end_time="06:00:00" />
            <leg mode="car">
            </leg>
            <act type="w10" x="9454368.60405" y="-135416.81187"
end_time="16:00:00" />
            <leg mode="car">
            </leg>
            <act type="h6" x="9427476.50229" y="-135180.91624" />
        </plan>

    </person>

<population>



Here important points are,
1. Under Plan element, there should be order as <act> followed by <leg>
followed by <act> then <leg>.....

How we can enforce this order? When I set as ArrayList, all <act> elements
come together? Pls assist.

Thanks,
Titus

Reply via email to