<MainObject> <BackColor> </BackColor> <NumberOfControls></NumberOfControls> <Mode></Mode> <Control> <Name>control1</Name> <service> xxx </service> <service> yyy </service> <service> zzz </service> <position> 1 </position> <mode> </mode> </Control> <Control> <Name>control2</Name> <service> xxx </service> <service> yyy </service> <service> zzz </service> <position> 2 </position> <mode> </mode> </Control> <Control> <Name>control3</Name> <service> kkk </service> <service> jjj </service> <service> hhh </service> <position> 1 </position> <mode> </mode> </Control> </MainObject>what i want to have back are two cursors one which the MainObjectproperties and the second with the rows of the various controls