I would like to have some help with looping trough an XML file. I can loop through the file because i can get the value of everything in this file except the values under the [property] tag. I also marked it in the code of the file.
The file:
[0] => SimpleXMLElement Object (
[@attributes] => Array ( [ID] => theid)
[name] => thename
[price] => theprice
[URL] => theurl
[images] => SimpleXMLElement Object ([image] => theimageurl )
[description] => SimpleXMLElement Object ( )
[categories] => SimpleXMLElement Object ( )
[properties] => SimpleXMLElement Object (
[property] => Array ( <----- all the values in this array -----
[0] => SimpleXMLElement Object ( [@attributes] => Array ( [name] => width ) [value] => 215 )
[1] => SimpleXMLElement Object ( [@attributes] => Array ( [name] => height ) [value] => 55 )
[2] => SimpleXMLElement Object ( [@attributes] => Array ( [name] => inch ) [value] => 16 )
[3] => SimpleXMLElement Object ( [@attributes] => Array ( [name] => size ) [value] => 215 / 55 R16 - 93V )
[4] => SimpleXMLElement Object ( [@attributes] => Array ( [name] => shortName ) [value] => NS700 16 inch )
[5] => SimpleXMLElement Object ( [@attributes] => Array ( [name] => brand ) [value] => Silverstone banden )
[6] => SimpleXMLElement Object ( [@attributes] => Array ( [name] => EAN ) [value] => 1701482155516 )
)
)
[variations] => SimpleXMLElement Object ( ) )
PS: This is just one element of a bigger array.