array to xml

    Date: 11/13/06 (PHP Community)    Keywords: php, xml

    Been scanning through php.net's site for a couple of hours looking to see if there was a function that could convert a nested associative array into an xml object or into xml string. I see plenty of functions to take xml strings and convert them into a DOMDocument.

    I guess I could create something that loops through the elements and places tags based on key/value pairs but I would think with PHP's massive library of functions, such a simple function would exist? Just missing it I guess. Anyone know?

    Source: http://community.livejournal.com/php/510262.html

« holy crap @ adodb || Quotations on Variable in... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home