SimpleXMLElement Object
(
[@attributes] => Array
(
[domain] => http://www.eatingwell.com/category/publication/magazine /september/october_2009
)
[0] => September/October 2009
[1] => American
[2] => Easy
[3] => Diabetes appropriate
[4] => Healthy weight
[5] => High calcium
[6] => Low calorie
[7] => Low cholesterol
[8] => Bone Health
[9] => Super Bowl
[10] => Recipes & Menus - Fresh
[11] => Recipes & Menus - Vegetarian
[12] => Cheese
[13] => Dairy
[14] => Greens
[15] => Vegetables
[16] => Wheat
[17] => Whole Grains
[18] => Vegetarian, other
[19] => Appetizers
[20] => Dinner

[21] => Bake
[22] => Fall
[23] => Spring
[24] => Summer
[25] => Winter
[26] => Budget
[27] => Entertaining, casual
[28] => Everyday favorites
[29] => Quick (total 30 min. or less)
[30] => Vegetarian
[31] => Appetizer
[32] => Main dish, vegetarian
[33] => Pizza
)
I want retrieved the category from rss feed, but $bullet =$item->category;pr($bullet);
it display the above result. I want only the array value [0] to [33]. How to remove the @attributes from above result?