Re: Re: create xml document with PHP
| From: | hassan | Date: | Sat, 02 Feb 2002 13:01:33 +0000 |
| Subject: | Re: Re: create xml document with PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-83239@lists.php.net to get a copy of this message | ||
hi
another great way of doing what you want to do is to use templates
regards,
__________________________________
Hassan El Forkani
http://WarmAfrica.com EveryOne's Africa
__________________________________
At 21:20 29/01/02, you wrote:
Hello, Rodrigo Peres wrote: Hi list, I'm new to the xml world, and I need to create a page with data retrieved from my database using PHP. The process is the same of create an html page?? I mean I can use echo to output the xml tags and values?? Since this page will be dinamically generated what kind of headers I need to use to this page become an xml??? I don't think serving XML directly to the browser is a good idea because many browsers would not render it. I saw many docs in web but all about parse an xml, but not in how to build one. This PHP class does exactly what you need. See the documentation for a typical example. Regards, Manuel Lemos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net__________________________________ hassan el forkani http://WarmAfrica.com EveryOne's Africa __________________________________