TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Xjslt: An XSLT 2.0 compiler for JavaScript

2 点作者 egh9 个月前

1 comment

egh9 个月前
I developed xjslt, an XSLT 2.0 (<a href="https:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;xslt20&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;xslt20&#x2F;</a>) compiler for JavaScript. XSLT is still the best way to transform XML content into other XML or HTML content, and there is only one generally available 2.0 or later version, Saxon. Saxon is an excellent piece of software, but SaxonJS is not open source and I thought it might be good to have another option.<p>There is a simple command line interface as well as the ability to compile to a standalone JavaScript file for loading in a browser and to a JavaScript file that can be used in NodeJS and other JavaScript runtimes. This means you can run your XSLT transforms on the server or in a cloud function.<p>The majority of functionality is in place and it has worked with many XSLT files I have tried. There are a number of incomplete and&#x2F;or broken features. The speed is very reasonable.