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

Seamless Local Control: Integrating WeatherFlow with Home Assistant Across VLANs

I've been pleased with my Home Assistant setup for some time now. One of my main focuses has been achieving local control. This ensures...