You saw the use of the DOM to parse XML in several earlier articles, and will see how JSON provides yet another option to parse XML in a future article.
在本系列前几期的文章中,您已经看到了利用 DOM 来解析 XML,在后续的文章中,还会看到 JSON 怎样提供了解析 XML 的另一种选择。
This worked well for generating text output, but would have been difficult to convert to other forms of output (such as a parse event stream for building a DOM representation of the document).
这很适合于生成文本输出,但是在转换成其它输出形式(例如用于构建文档的DOM表示的解析事件流)时会很困难。
The main task of XMLizing is to parse the source and construct a DOM tree according to the source file definition.
XML 化的主要任务是解析源文件,根据源文件定义构造 DOM 树。
应用推荐