The biggest problem I can think of with PHP is it's poor XML support. Right now, you can read XML files, yes, and put them in arrays etc. But can you build XML files? Well, kind of...
You can build XML files line by line, with
But I would rather be able to see this...
Aswell as building it to it's own flatfile (.xml) file, such as:
... would be:
Where animal.xml would be the XML flatfile output, animal.xsl would be the template file attached to it (where it would write that into the XML file), and the DTD file would be tagged with the XML file as well. The "o" in the xml_build means "open tag", "c" means "close tag", "v" means "value" (it has a value) etc.
$start = "xml_new('/xml_files/animal.xml', '/xsl_files/animal.xsl', '/dtd_files/animal.dtd')";
xml_build('Name', 'Dog', 'v');
That above example is very primitive, and it probably shouldn't look or work like that. However, it should be easy like that. As easy as writing tables to a MySQL database, or easier.
Then, finally, we could have the ability to make PHP forms that can build XML files based on textfield values!