I am looking into using PHP for XML file parsing.
The way that I would like to use it is as follows:
1. user views a .xml file
2. the mime type causes a standard .php file to parse the document
3. the parsed value will then be returned to output.
I know that I could do the same deal via a query string, where the .xml file is called into a standard script.
for example: xmlparse.php?file=[the file to parse]
I would however like to do it differently. I am sure that this would need to be set up in the .htaccess or .httpconfig, but I am unsure of how I would do this, or if it would even be possible.
I know that it can be done with Java servlets, so I am guessing that it could also be done by php. Anyone have input on this?