Then it introduced you to SAX and event-based parsing, the approach you must take if your XML document is very large or is an unending stream.
然后介绍了SAX和基于事件的解析,如果XML文档非常大或者是一个无终止的流,必须采用这种方法。
Unlike SAX, the DOM API permits editing and saving an XML document back to a file or stream.
与SAX不同,DOM API允许对XML文档进行编辑并保存为一个文件或者流。
If the XML document won't fit in memory or is a stream of unknown length, you can't use XML: : Simple.
如果XML文档不能全部装入内存或者是长度未知的流,就不能使用XML: Simple。
应用推荐