a simple little script i made thats loads in an xml file (in this case a language file for the cmsv6), splits it up and lets a user edit the values with a simple textarea.
todo: make the textareas into simple html editors with some basic html buttons for bold/link/img/etc.
http://thomassmart.com/Experiments/xmlform/
This is by far the best XML2ARRAY function for php i have found so far, i use it in several projects.
function xml2array($contents, $get_attributes=1) {
/**
* xml2array() will convert the given XML text to an array in the XML structure.
* Link: http://www.bin-co.com/php/scripts/xml2array/
* Arguments : $contents - The XML text
* $get_attributes - 1 or 0. If this is [...]
Comments