TMX Read elements

Hi,

I have a problem and i am hoping ye can help me.

I have a tmx map and i want to read a certain element. I have a polyline and i want to read the points. I have added the code to TMXParser but i am not sure how to implement it.

Any help will be much appreciated.

Thanks

There is a solution for cocos2d here that should help: