Hello guys,
I was using well known phpXML class for parsing and
searching my XML file (using XPath language) - no additional
LIB was required.
I also managed to change content and attributes of
some node. The problem is now that I need to save that
changed XML in same file (overwrite the old) but it seems
that this class not allow this in elegant way. It has however
some method "get_file" which return string of that new XML structure,
but all '<' are represented as < and '>' as $gt; and also
there is no <?xml header, neither my <?xsl:transform header,
and also some special characters from my language (marked as
ž i.e.) are represented as '?'.
Does anybody how to use this class to save my changed XML file?
Or any other sollution?
Thanks
Alex