Indeed, in the first case, the application writes the XML document, which the XSLT processor immediately parses (often through a SAX parser).
的确,在第一种情况中,应用程序编写了XSLT处理器可以立即分析的XML文档(通常通过sax语法分析器)。
I recommend that you use SAX as a fire-and-forget mechanism, and not build up data structures like this in the first place — so in that case this becomes a non-issue.
我建议将SAX作为一种fire - and - forget机制,而不是在一开始就构建数据结构——这样,这种情况这就不成问题了。
应用推荐