Possible Duplicate:
A simple program to CRUD node and node values of xml file
Hi i have xml file with following attributes
<user>
<info>
<id>XXXXXX</id>
</info>
</user>
I want to replace user id every time when the page loads and then save file with new id, the variable which gets id from user is $uid.