DOMDocument->save
Posted: Tue Nov 24, 2009 12:36 am
Hi everybody,
I am currently loading an xml file ( an xml template ) and modify some node value then save it on the server using the 'save' method of the DOMDocument. It write the file, but always encode it in ANSI.
There is a saveXML method, but that does not write a file on the server...
I load default.xml, modify it, and want to save it as jack.xml encoded in utf8.
How can i make it work?
Any clues, please share,
Thx
I am currently loading an xml file ( an xml template ) and modify some node value then save it on the server using the 'save' method of the DOMDocument. It write the file, but always encode it in ANSI.
There is a saveXML method, but that does not write a file on the server...
I load default.xml, modify it, and want to save it as jack.xml encoded in utf8.
How can i make it work?
Any clues, please share,
Thx