Using client side XSLT transformations in the HTML5 era

前端 未结 3 1556
生来不讨喜
生来不讨喜 2020-12-20 20:42

Can anyone help regarding the availability of client-side XSLT in mobile HTML5 browsers? caniuse.com has nothing on it.

Is XSLT actually standardized across current

3条回答
  •  无人及你
    2020-12-20 21:09

    Availability of XSLT 1.0 client-side is now pretty universal in modern browsers, with the exception of some mobile platforms; and the level of conformance is also quite reasonable (probably rather better than Javascript/DOM). We've been using client-side XSLT for the Saxonica web site for some months and there are very few reports of problems, though we do have a fall-back site that's static HTML, which we redirect to when we detect that XSLT isn't supported.

    The recently open-sourced Saxon-CE now delivers XSLT 2.0 on any browser with Javascript support. It does a lot more than upgrade the XSLT support to XSLT 2.0; it also provides a declarative way of handling user input in the browser and creating interactive applications.

    It's true of course that the browser vendors have largely lost interest in XML. The same isn't true of content publishers, so it's up to third parties to fill the gap.

提交回复
热议问题