harshpandya Posted September 4, 2008 Share Posted September 4, 2008 Hi Guys, This is my xml file.. test.xml <root xmlns=" ...... "> <device> <deviceType>something</deviceType> <friendlyName>test</friendlyName> </device></root>Now i want to change the Friendly name in the xml file. .. I can open the file but how do i modify this and save it back and close.Please help ---- Any tutorial link or sample code Thanks, Link to comment Share on other sites More sharing options...
Synook Posted September 5, 2008 Share Posted September 5, 2008 The DOMDocument() class is perfect for this (and anything XML in PHP). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.