Re: easiest way to CREATE XML with PHP5?
| From: | Manuel Lemos | Date: | Sun, 18 Jul 2004 04:53:10 +0000 |
| Subject: | Re: easiest way to CREATE XML with PHP5? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190878@lists.php.net to get a copy of this message | ||
Hello,
On 07/18/2004 01:40 AM, 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:You may want to try this class. It generates automatically indented XML documents as nicely as you present. http://www.phpclasses.org/xmlwriter -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html