RE: PHP and XML

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

 



Hi,

what do you plan to do with XML? Store your adresses, etc?

Then you can create an XML object with simpleXML (see http://be2.php.net/simplexml/)
This will help you in adding nodes and attributes.
Afterward, you can generate a output with $xml->asXML() and store this into a file  with file_put_content($xml->asXML());


If you edit a xml file in a text editor, you will see it is rather simple....
study the simpleXML methods and you are ready !

best whishes !
vincent



-----Original Message-----
From: onewaylife [mailto:rakesh.mishra@xxxxxxxxx]
Sent: Thu 23/11/2006 13:57
To: php-general@xxxxxxxxxxxxx
Subject:  PHP and XML
 

Dear All

I am novice in PHP & XML, while trying I am creating a small application
i.e. Address Book. 
In this I am using Apache2, PHP5 and XML no database is used. I have FC5
machines. but I am unable to store the files in XML. If any one share their
experience in this by providing Examples or tutorials etc... 
So far I have found tutorial related to porting the information of data from
MySQL to XML and then php with help of DOM. 

Thanks 
onewaylife
-- 
View this message in context: http://www.nabble.com/PHP-and-XML-tf2692397.html#a7507917
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
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