Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图通过 HTML 文件显示整个 XML 数据库,但为了显示所有元素,我需要 XSLT。由于我使用 Javascript 来操作数据库的显示方式,因此我假设我必须在 HTML 代码中实现 XSLT 文件,但我找不到关于如何执行此操作的解决方案。
很可能从 Javascript 中调用 XSLT 转换。您甚至可以在 Saxon-CE 的帮助下使用 XSLT 2.0 转换,它可能提供比浏览器供应商提供的 XSLT 1.0 处理器更好的跨浏览器兼容性。