任何人都可以帮助了解移动
HTML5浏览器中客户端XSLT的可用性吗?
caniuse.com什么都没有.
XSLT是否真的在当前的移动浏览器中标准化了?
HTML5规范在XSLT上没有任何内容,这使人怀疑XML是否有未来(鉴于存在JSONP但没有“XMLP”的事实)
解决方法
XSLTProcessor API是HTML5脚本规范的一部分:
> Interaction of script elements and XSLT
When an XSLT transformation program is triggered by an processing instruction and the browser implements a direct-to-DOM transformation,script elements created by the XSLT processor need to be marked “parser-inserted” and run in document order (modulo scripts marked defer or async),immediately,as the transformation is occurring.
XSLT is supported in iOS 2.0 and later.
Android 2.2.x(Level 8)为XSLT添加了Java API,可通过JavaScript的XSLTProcessor API访问客户端.
Android 4.0支持XSLT processing instructions,根据以下问题的答案:
> Is the Android Browser capable of performing an xsl transform?