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.

Manuel Lemos

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to