On Sun, 2004-07-18 at 00:40, CD Baby wrote:
> I see all these articles and tutorials about reading and parsing XML files.
> 
> But what about creating and writing XML files with PHP5?
> 
> Is the DOM the only way?
> It seems like such a bloated overkill.
> I just want to make simple little XML files like this:
> 
> <music>
> <album upc="123456789">
>   <artist>Pink Floyd</artist>
>    <title>Dark Side of the Moon</title>
>    <songs>
>      <song num="1">
>        <title>Comfortably Numb</title>
>        <length>4:32</length>
>      </song>
>      <song num="2">
>        <title>Some Other Song Title</title>
>        <length>6:15</length>
>      </song>
>    </songs>
> </album>
> </music>

fprintf()

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

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

Reply via email to