Menu
I am developing a large web application. I have developed my application architecture on MySQL, PHP, XSL and XHTML. I want to completely separate code from interface. I want my XSL solely responsible for displaying interface elements.
The problem is that if I do not have any XML to transform using the XSL I can’t just output the XSL into XHTML.
I don’t know if I’m explaining this right.
I know I can feed a dummy XML string into the processor, but that is not very elegant.
If there is no need for any dynamic translation, I want to return a default XSL translated into XHTML. Is there a way to do this?