How do I run an XSLT file?

You have two options:

  1. Let the browser do it. Pass the XML with a reference to the XSLT and the browser (IE 6 or lower might have problems) will render it as (X)HTML:

    <?xml-stylesheet type="text/xsl" href="http://www.example.com/my-xslt.xsl" ?>

  2. Do it server-side. Most languages have methods for accepting XSLT and XML data, then outputting (X)HTML. Here are some options:

    • MSXML
    • Saxon
    • Xalan

alt text

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)