Re: XML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux