I got php script that provide an XML and I want to have the possibility to append &xslfile=http://www.mydomain.com/mysxlfile.xsl
which would produce xhtml :)
They way I did it work only with IE since it only add the following lines:
print "<?xml-stylesheet type=\"text/xsl\" href=\"$xslfile\"?>\n\n";
instead of actually transforming the XML into XHTML. so when user view the source, they see the XML, not html. The problem, is that this only works with IE since it is IE that do the transformation client side. I know there is a way to do the transformation server side, but I can't find it :(
Your help is appreciated!