This is both simpler and faster than a SAX2-style handler approach.
这比起sax2样式的处理程序方法来简单又迅速。
Because ExpatXS is a SAX2 parser, you must use a SAX2 writer with it.
由于ExpatXS是一种sax2解析器,因此也必须使用sax2复写器。
Instead of SAX2, JiBX is based on a pull parser architecture (currently XMLPull).
JiBX基于拉(pull)解析器体系结构(当前是XMLPull),而不是SAX2。
Make sure that all of your tools are either SAX or SAX2: don't try to mix and match.
要保证所有的工具要么是SAX要么是SAX2,但不要混合使用。
The second aspect I questioned was the use of a SAX2 parser for unmarshalling documents.
我质疑的第二个方面是使用SAX2解析器对文档进行数据分解。
In 2000, SAX2 was released to add greater configurability and namespace support, and a cleaner API.
在2000年,SAX2发布,增加了更强的配置性和命名空间支持,以及一个更加简洁的API。
Parse XML documents using the Simple API for XML 2 (SAX2) and document Object Model 2 (DOM2) parsers.
使用SimpleAPIforXML2 (SAX2)和文档对象模型2 (DOM2)解析器解析xml文档。
Despite it's widespread usage, the SAX2 API has some serious drawbacks for many types of XML processing.
尽管SAX 2API已被广泛使用,但它对于许多类型的XML处理还存在一些严重缺陷。
In these charts you can regard the first timing value, for SAX2, as a base time for parsing the documents.
在这些图表中,您可以将第一个sax2计时值作为解析文档的基本时间。
SAX2 is a very useful standard for parsing XML, but its event driven approach is not well suited to data binding and similar applications.
SAX 2是一种非常有用的解析xml的标准,但是其事件驱动方法并不非常适合数据绑定和类似的应用程序。
These charts use the same vertical scale as the previous pair to simplify comparisons, but differ in that there's no equivalent to the SAX2 parser figure.
这些图表使用的纵坐标与前两幅图表相同,以使比较变得简化,但是区别在于没有与SAX2解析器数字相对应的数字。
These charts use the same vertical scale as the previous pair to simplify comparisons, but differ in that there's no equivalent to the SAX2 parser figure.
这些图表使用的纵坐标与前两幅图表相同,以使比较变得简化,但是区别在于没有与 SAX2解析器数字相对应的数字。
While the rest of the program is pretty much just boilerplate code to get the SAX2 parser running, the part in Listing 7 defines the application's personality.
虽然程序其他部分只是让SAX2解析器运行的样板代码,但是清单7中的部分定义了应用程序的个性。
This stream of nodes is presented using a SAX2-like interface (com.icl.saxon.Emitter) : it differs from SAX2 in the details of how names and namespaces are represented.
使用类似与SAX2的接口(com . icl . saxon . Emitter)来显示这个节点流:它在如何表示名称和名称空间等细节方面与sax 2略有不同。
The Python code starts processing the XML by importing all the packages it will be using in the application: PyGTK, GTK for building the GUI, and Sax2 for XML parsing.
Python代码通过导入其要在应用程序中使用的所有包,开始处理XML:PyGTK、用于构建GUI 的 GTK以及用于 XML分析的Sax2。
The problem here is that the code processing the SAX2 events needs to maintain state information for everything it processes, and this adds both complexity and overhead.
这里的问题在于,处理SAX2事件的代码需要维护其处理的所有事情的状态信息,这既增加了复杂性又增加了开销。
The problem here is that the code processing the SAX2 events needs to maintain state information for everything it processes, and this adds both complexity and overhead.
这里的问题在于,处理SAX2事件的代码需要维护其处理的所有事情的状态信息,这既增加了复杂性又增加了开销。
应用推荐