XML isn't always going to a browser remember, it could be another application on another server that wants an XML doc to sync something or such like. And that sort of application is what PHP needs (more middleware-ish to compete with Java etc), as I feel that PHP is capable of much more than just web page -> user scenarios.
Don't mean to be patronising however! Oliver Cronk "Manuel Lemos" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]