xml_data_result.xml:
change_xml_element_val.php
======================================
result as below: the status of second row will be replaced by 1.
2014年3月19日 星期三
2014年3月7日 星期五
[PHP] XML show element value and save file
xml_data.xml:
xml_show.php
---------------------------------------------------------------------------------
result:
---------------------------------------------------------------------------------
result:
=======module1: save to be text2.xml==========
=======module2: print the context without format=============
=======module3: print root tag context=============
#text =
USER =
Amy
Amy@gmail.com
1
#text =
USER =
Bill
Bill@gmail.com
1
#text =
USER =
Candy
Candy@gmail.com
0
#text =
=======module4: print specific tag context=============
#text =
NAME = Candy
#text =
EMAIL = Candy@gmail.com
#text =
STATUS = 0
#text =
訂閱:
文章 (Atom)