[Phpwm] [phpwm] Generate XML file from an array
David Goodwin
david at codepoets.co.uk
Wed Mar 17 15:29:14 UTC 2010
> I would like to be able create a PHP script that will generate an XML
> file 'on the fly' from an array& then save this XML file within a
> directory on my server, eg 'filename.xml'
>
> I know there are probably many ways of doing this - I just wanted to
> know the best approach or indeed libraries/classes you guys may have
> come across that would do this with little fuss.
I thought simplexml had a 'fromArray()' type function on it, but it
doesn't seem to. How annoying.
David.
--
David Goodwin
[ david at codepoets dot co dot uk ]
[ http://www.codepoets.co.uk ]
More information about the Phpwm
mailing list