Re: Preferred way of generating XML in pear packages?
| From: | Stephan Schmidt | Date: | Tue, 05 Apr 2005 14:26:08 +0000 |
| Subject: | Re: Preferred way of generating XML in pear packages? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-37084@lists.php.net to get a copy of this message | ||
Hi,
James Carr wrote:
I'm currently touching up my payfuse/clearcommerce package to submit as a proposal, and I'm curious what is the preferred method of generating XML in pear packages? I am currently using DOM, but am wondering if I should shy away from it due to the differences in implementation between php4 and php5?I could recommend three packages in PEAR: - XML_Util (provides helper methods to build tags) - XML_FastCreate - XML_Serializer (pass it an array/object and you get XML) There's also XML_Tree but to me it seems that it's a bit orphaned. In most cases I personally use XML_Serializer. Stephan