Wednesday, June 22, 2005

Generating xml in php


I was looking for a way to generate xml from php, and I found three different ways.


  1. XmlWriter class.  It looks like Simon Willison re-implemented the python version of this class in php.

  2. Simple output functions. This looks like the simplest way, without any external dependancies.

  3. DOM XML extension of php.  I am not sure how robust these are.

No comments:

Post a Comment

Unlocking Raspberry Pi Potential: Navigating Network Booting Challenges for Enhanced Performance and Reliability

I've set up several Raspberry Pis around our house for various projects, but one recurring challenge is the potential for SD card failur...