xslt or php for rendering output

Posted by Arsenal on Stack Overflow See other posts from Stack Overflow or by Arsenal
Published on 2010-04-20T13:26:53Z Indexed on 2010/04/20 13:33 UTC
Read the original article Hit count: 253

Filed under:
|

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?)

© Stack Overflow or respective owner

Related posts about php

Related posts about xslt