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

Empowering Family Legacy: How I Transitioned to Self-Hosting with Gramps Web

For several years now, I've been maintaining a genealogy website containing information from both my and my wife's family history. O...