when xml is parsed by simplexml functions, its elements can be accessed as array. however the information is not persistent and cannot be saved in sessions. in order to save the xml data or any particular nodes in array format, data must be converted t…
more »