Hi all ,
Can I edit the xml file before doing xml parsing ?
My xml file is around 16MB size.
Anyone have any ideas how to do that?
Thanks
weetat wrote:
Add on :
I got this error when i using xmldocfile() function to read the xml file ,
Warning: xmldocfile():
/home/gvintranet/datacraft/htdocs/uploads/test_cdata.xml:99: in
/home/gvintranet/datacraft/htdocs/admin/test_writexml.php on line 6
Warning: xmldocfile(): error: in
/home/gvintranet/datacraft/htdocs/admin/test_writexml.php on line 6
Warning: xmldocfile(): CData section not finished ù?¸ü÷ú"<ù?àù?Ø
in /home/gvintranet/datacraft/htdocs/admin/test_writexml.php on line 6
Warning: xmldocfile():
<InstanceName><![CDATA[ù?¸ü÷ú"<ù?àù?ØZ4ÀÏ]]></I in
/home/gvintranet/datacraft/htdocs/admin/test_writexml.php on line 6
Warning: xmldocfile(): ^ in
/home/gvintranet/datacraft/htdocs/admin/test_writexml.php on line 6
weetat wrote:
Hi all,
I am using PHP 4.3.2 in Red Hat Entreprise.
I have xml file which have tags as show below:
<HardwareVersion><![CDATA[ù?¸€ü÷Œú"<ù?àù?Ø€Z4À„Ï]]></HardwareVersion>
I need to lookup for Hardware Version tag in php ,and edit the value
to empty string and save the modified xml file.
Any one have any ideas how to do this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php