You give it some XML, and it calls you back when tags are opened, or closed, when text is found, and so on.
您给它一些XML,当标签打开或关闭时,当找到文本时,它都会向您的代码发送事件。
Every time a tag is opened or closed, or any time the parser sees some text, it makes callbacks to some user-defined functions with the node or text information.
每次打开或关闭一个标记时,或者每次解析器看到文本时,就用节点或文本的信息回调用户定义的函数。
The SideNote object has the ability to set the text for a check mark and see if the option was checked when the user closed it.
SideNote对象具有为复选标记设置文本并查看当用户关闭它时此选项是否还被选中的能力。
To use graphics instead of text to express the open and closed states, alter the code that changes the innerHTML value of the spinner object to specify an image tag instead of text.
为使用图形取代文本来表示展开和关闭状态,更改代码,改变微调控制项对象的innerhtml值,使其指定一个图像标记而非文本。
The solution ElementTree adopts is to give each node a .tail attribute, which contains all the text after a closing tag but before the next element begins or the parent element is closed. For example
ElementTree 采用的解决方案赋予了每个节点一个 .tail属性,它包含了位于结束标记之后,下一元素开始或父元素结束之前所有的文本。
For example, we shouldn't expect that the method types for a text-editing API would capture such invariants as "only opened documents can be closed."
例如,我们不应期望文本编辑API的方法类型可以捕获所有与“只关闭打开的文件”类似的不变量。
The narrative text looks like a closed circle because the beginning is connected with the end, and the circle can roll and cycle which multiplicates the story continually.
叙事上的首尾交接使文本就像一个闭合的圆圈,并且它可以循环滚动,使故事不断增殖,无穷无尽。
The closed caption text on the slide is displayed to the user.
幻灯片上的隐藏式字幕会显示给用户。
The user can compose the desired text in this way until the composition string is finalized and the window is closed.
借此用户可以组合想要的文本直到字符组合成的字符串结束,窗口会关闭。
A tentative inference on this result is that function words, belonging to closed classes, have greater redundancy in text comprehension.
我们推测这可能与虚词是封闭词类因而语篇中冗余度更大有关系。
These results of the closed-set text-independent speaker identification experiments indicate the proposed model and algorithms improve identification accuracy.
闭集文本自由说话人辨认试验证明了提出的模型及其算法的正确性。
The experiments results of the closed-set text-independent speaker identification system indicate that the proposed models and algorithms improve identification accuracy.
闭集文本自由说话人辨认试验证明了提出的模型及其算法的正确性。
The user can compose the desired text in this way until the composition string is finalized and the window is closed.
借此用户可以组合想要的文本直到字符组融合的字符串完结,窗口会歇业, 努比。
The user can compose the desired text in this way until the composition string is finalized and the window is closed.
借此用户可以组合想要的文本直到字符组融合的字符串完结,窗口会歇业, 努比。
应用推荐