Get each individual object x and y coordiantes

Hey Guys,

I have 4 objects in a tmx tiled map. they are all called Object, i was wondering how do i read each one individual and save there coordinates into an Array of CCpoints

any help is much appreciated.

Thanks

Example
<object name="Object" x="822" y="157" width="18" height="19"/> <object name="Object" x="957" y="136" width="20" height="17"/>