I'm creating something where users can upload an xml and data get's imported to the database.
Now I'm building some kind of a preview page where users will get to see how their input will look once it's stored.
What would be the fastest (in execution time), using XSL to transform the xml to a html page, or using php to render the output?
My guess is XSL is far more suitable (+ faster) for this (and by using a DTD there's no need for code written validation, right?)