简体   繁体   中英

Why modern web browsers don't support XSLT 2.0?

We are thinking to use Altova StyleVision. We can create a good report template with it. Altova's default browser shows our work very well. However, generated XSLT files are not supported by the modern web browser.

Any suggestions?

"Why" questions are always complicated as there's generally not a single answer. But I think part of the answer is that there isn't a good implementation of XSLT 2.0 written in C or C++, in the way that libxslt (the backend of xsltproc) and Xalan exist for XSLT 1.0. It's not my intention to start a language war, but for better or worse, most browsers are written in C or C++.

Saxon CE ( http://saxonica.com/ce/index.xml ) brings XSLT 2.0 to modern browsers with Javascript enabled, so perhaps that is an option for you. Otherwise you will need to make sure you run the XSLT on the server and provide the transformation result to the browser.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM