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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

XML Transform in Ruby with Elegant Dress

5 点作者 howard_yeh超过 15 年前

1 comment

jamesbritt超过 15 年前
I was about to give up after the first paragraph or so of the README. Wasting time telling me how bad something is doesn't really help me understand your project if all you do is heap on empty hyperbole.<p>My bigger complaint is that after going through the whole README I still didn't know if this lib does everything that XSLT does.<p>I've written way more XSLT than I'd care to remember (though it was a good way to get familiar with functional programming), and my biggest issue was that most of the transforms I cared about were on large files of regular data.<p>Since then I started using Ruby, and found that rolling my own transformation code was pretty straightforward, but the key was using a pull parser so that I didn't have to slurp a giant XML file into memory. (I've written about this; the curious can google for the article).<p>I saw nothing in the README about handling large data or working with a pull parser.