XML header is lost when using ezxml_toxml
Status: Beta
Brought to you by:
voisine
When using ezxml_toxml to write back the XML data, the
function doesn't write the XML header of the read XML
file if it got one.
I.e.: <?xml version="1.0" charset="UTF-8"
standalone="yes"?>
Is it an ezXML issue or should my software take care of
this after using that function?
Thanks in advance.
correct you will not find root node. after parsing root pointer might be moved from its original location so before performing any operation with root pointer save root pointer location to tmp variable and then after operation store it back.
this trick solved my problem.