Hi, I need some hel to a xml file : My file: <?xml version="1.0" encoding="utf-8"?> <content> <item num="1"> <title>Emilie</title> <image_path>essai1.jpg</image_path> <target_url>http://www.monsite</target_url> <description>Génial</description> </item> <item num="2"> <title>Alexis</title> <image_path>essai2.jpg</image_path> <target_url>http://www.monsite2</target_url> <description>Super</description> </item> <item num="3"> <title>Alexis</title> <image_path>essai2.jpg</image_path> <target_url>http://www.monsite2</target_url> <description>Super</description> </item> </content/> PHP: I want read my file and changed the place of item. The item1 => item3 & item3 =>1 etc Each open file, the position change. I try with simpleXXML without succès .... If somebody can hem me Thanks in advance. Regards. Alain
http://mysrc.blogspot.com/2007/02/php-xml-to-array-and-backwards.html Check out the above URL Hope it will help you out ..