乍一看,这与SAX中的解析过程相似。
剩下的惟一步骤是将错误处理实现注册到解析过程。
The only step left is to register your error handler implementation with the parsing process.
然后把该属性的值回传给客户,解析过程也停止了。
The value of this attribute is then passed back to the client and the parsing process is discontinued.
清单4中的代码段说明了一般的DOM解析过程。
Listing 4 shows a code fragment demonstrating the normal DOM parsing procedure.
它定义了XAML语言本身及重点关注的解析过程。
This defines the XAML language itself and focuses heavily on parsing.
对采集信号的解析利用程序完成,解析过程简捷。
To gathers the signal the analysis to complete using the procedure, the resolving is simple and direct.
返回的事件对象是不变的,应用程序可以保存到解析过程之后。
The returned event objects are immutable and the application can cache them beyond the parsing process.
在解析过程中,通过回调事件通知客户事件处理程序。
Client event handlers are informed through callbacks about the events during this parsing process.
我们为什么要研究HTTP标头或用户首选项的解析过程呢?
Why do we have to go through the process of analyzing the HTTP headers or user preferences?
在XML文档解析过程中,实体引用将由它的表示替代。
During the XML document parsing, the entity reference is replaced by its representation.
最后,通过检查此对象是否包含冷却率乘数测试解析过程。
Finally, I tested the parsing by checking to see if the object contained a cooling rate multiplier.
它们指出,在解析过程中,如果达到某个条件,则只能匹配当前规则。
They say that if a point in the parsing process is reached, nothing else except the current rule could match.
解析完成后,应用程序关闭读取器并释放解析过程中获得的资源。
Once parsing is complete, the application closes the reader to release any resources that it acquired during the process.
稍后,我学会了跳过中间解析过程并直接从转换器生成SAX事件。
Later, I learned to skip the intermediate parsing and generate SAX events directly from my converter.
通过保留解析过程的控制权,可以简化调用代码来准确地处理它预期的内容。
By retaining control of the parsing process, you can simplify the calling code to handle precisely the content it expects, and to choose to simply stop parsing when it encounters something unexpected.
对于解析过程的总体性能影响取决于文档中与新行数目相关的字符数。
The overall performance impact on parsing depends on the number of characters in a document relative to the number of new lines.
解析过程中,配置文件中的元素和数据转化成类似PHP关联数组的键-值对。
During this parsing process, the elements and data in the configuration file are converted into key-value pairs, similar to that found in a PHP associative array.
由于无需使用DOM构建输出,因此也不必使用复杂的解析过程来生成ui元素。
Because you don't need the DOM to build the output, you don't need a complex parsing process to generate the UI elements.
StAX提供了一个拉式解析器,可以让客户应用程序完全控制解析过程。
StAX offers a pull parser that gives client applications full control over the parsing process.
客户应用程序可以决定何时中止解析过程,让解析器停下来也不需要什么诀窍。
A client application may decide at any time to discontinue the parsing process, and no tricks are required to stop the parser.
是为了加强用户对XML解析过程的控制而提出的处理XML文档的API。
StAX(Streaming API for XML) is brought out to give parsing control to the user while handling XML document.
根据XML 1.0规范的定义,致命错误绝对会干扰和阻止解析过程继续进行。
Defined in the XML 1.0 specification, these are problems that absolutely interfere and prevent parsing from continuing.
此外,新增的到API的XModuleResolver接口允许您定制模块解析过程。
Also, the addition of a new XModuleResolver interface to the API allows you to customize the module resolution process.
您还可以选择使用过滤器api中断解析过程,从而只装载XML文档的某一部分。
You can also choose to load only part of an XML document by interrupting parsing using the filter API.
正如SAX规范中所说的那样,在解析过程中的任意时刻,都可以注册一个新的内容处理程序。
At any time during a parse, it is possible to register a new content handler, as stated in the SAX specification.
解析过程会将传入的V 5查询规范或任何潜在的嵌入式SQL或MDX查询转换成一个树表示。
The parsing process will convert the incoming V5 query spec and any potentially embedded SQL or MDX queries into a tree representation.
在数学解析过程和引出结论时,注重阐述信号与系统分析中强调物理含义的教学方法。
In the process of resolution, and while the conclusion been educed, emphasize giving the physics explain about the signals analysis and the systems analysis.
当您将空格添加到文档中时,解析器就要处理更多的字符,从而最终影响解析过程的性能。
When you add whitespace to your documents, a parser processes more characters, which in the end affects parsing performance.
无论引用是对静态程序集的引用还是对动态程序集的引用,运行时均使用相同的解析过程。
The runtime USES the same resolution process regardless of whether the reference is for a static or dynamic assembly.
在文档筛选中为了避免不必要的开销,这种事件处理程序可能希望在收集到必要的信息后停止解析过程。
To avoid unnecessary overhead during document screening, such an event handler may want to stop the parsing process once it has gathered the required information.
应用推荐