Can you process a .xml file as php? What I want do is have some php code load and execute on data from an xml file then send it to the user's browser.
Can you tell the server to stick in some php code into all .xml files by default.. similar to application.cfm file with Coldfusion?
So my urls would look like this.. http://www.example.com/work.xml but would load a web page built off the the xml data in work.xml instead of just sending the unaltered work.xml file to the browser.
Is there a better way?
I am making a mini specialized content management system and I want all my files on the server to be .xml files without visual layout data in them.