Hi All
I have the following XML
What I want to be able to do is to extract all of the items listed in the categories and put them into an array as individual items. So would like have an array that contained Cosmetics, Pharmaceuticals, Food, Sportswear, Football, Rugby and Tennis as individual items within the array.Code:<shops> <shop id="01"> <name>Boots</name> <categories>Cosmetics, Pharmaceuticals, Food</categories> </shop> <shop id="02"> <name>JJB Sports</name> <categories>Sportswear, Football, Rugby, Tennis</categories> </shop> </shops>
Any help would be GREATLY appreciated.
Thanks
Phil




Reply With Quote
