Many programming languages represent XML as a DOM tree.
许多编程语言将XML表示为dom树。
DOM Tree Alignment Model for Mining Parallel Data from the web.
一种从网上采集相似数据的文档对象模型的树形配置样例?。
A DOM Tree Alignment Model for Mining Parallel Data from the web.
一种从网上采集相似数据的文档对象模型的树形配置样例。
If you're building a DOM tree, the process still follows the same model.
如果构建一个dom树,构建过程仍然遵循相同的模型。
To ensure that, always turn on namespace awareness when you build your DOM tree.
要确保这一点,应该在构建dom树时始终打开名称空间感知。
Our last step is to deliver the requested part of the DOM tree back to the user.
最后一步是将被请求的dom树部分发送给用户。
Listing 1 is a sample XML document while Figure 1 is the corresponding DOM tree.
清单1是一个示例XML文档,图1是相应的dom树。
But attributes allow you to identify important elements in the DOM tree and you should use them.
但是属性使您能够确定dom树中的一些重要元素,所以您应该使用属性。
For example, default attributes can appear in a DOM tree or new SAX events can occur as a result of validation.
比如,dom树中可能出现默认属性,或者作为验证结果出现新的SAX事件。
The first step in working with XPath is to read the target XML document in as a DOM tree, as shown in Listing 3.
使用XPath 的第一步是将目标XML文档作为DOM树读入,如 清单3 所示。
Parsing can then occur, and the resultant DOM Document object is handed off to a method that prints the DOM tree.
然后,就可以进行语法分析了,产生的DOMDocument对象传递给打印dom树的方法。
The main task of XMLizing is to parse the source and construct a DOM tree according to the source file definition.
XML化的主要任务是解析源文件,根据源文件定义构造DOM树。
Creating a DOM tree from scratch results in a higher peak working set than loading the same document from disk.
在内存中临时创建一个DOM树比从磁盘上载入同样的文档会产生更高的工作空间峰值。
The DOM layer provides a foundation for constructing the DOM tree that is compliant with the ODF standard specification.
dom层为构造符合ODF标准规范的dom树提供基础。
Then the prepared HTML code is added to the DOM tree, which triggers the Dojo parser to render the new fragment of the page.
然后将准备好的HTML代码添加到DOM树,从而触发Dojo解析器呈现页面的新片段。
The AST is a tree representation of the parsed source code, created by the compiler, similar to the DOM tree model of an XML file.
AST代表已解析源代码的树,它由编译器创建,与XML 文件的DOM 树模型类似。
The nodes of every document are organized in a tree structure, called the DOM tree, with topmost node named "Document object".
每个文档的节点组织成树结构,称为DOM书,最上面的节点名为“文档对象”。
Selecting on a node will not only highlight it in the rendered page and the DOM tree, but also in the MVC source code that created it.
选定一个节点,不仅会让它在渲染后的页面和DOM树中突出显示,而且还会在创建它的MVC源代码文件中突出显示。
Walking the DOM tree for the first time has an impact on the working set metric because some nodes in the tree are created on demand.
在第一次遍历DOM树时,对工作空间这个度量指标会有一定的影响,因为树中有些节点会被创建。
Listing 5 shows code to create a DOM tree of an XML document, and the steps are very similar, even though the class and method names change.
清单5展示了创建XML文档的dom树的代码,步骤与清单4非常相似,但其中的类和方法名称发生了变化。
When the correct node is found, regardless of the number of parents up the DOM tree it is, the node is returned and the highlighting removed.
当找到正确的节点时,无论DOM树中的父节点有多少个,都返回节点并删除高亮显示。
Until recently, the only way xml_objectify worked was to create a DOM tree, then recurse through that tree to generate the "Pythonic" objects.
到目前为止,xml_objectify工作的唯一方法是创建一个dom树,然后遍历该树,生成“python化”的对象。
In Prop2XML, the initial DOM tree is constructed from a predefined XML skeleton, instead of constructing the initial tree node-by-node from scratch.
在Prop 2xml中。初始dom树从预先定义的XML框架构造开始逐个节点地构造初始树,而不是从头开始。
Be mindful of repaints and reflows; batch style changes, manipulate the DOM tree "offline," and cache and minimize access to layout information.
注意重绘和重排版;批量修改风格,离线操作DOM树,缓存并减少对布局信息的访问。
One such enhancement is the (currently beta) cDomlette module, which can build a complex DOM tree much faster than PyXML's default DOM implementation.
其中一个增强是(目前是测试版)cDomlette模块,在构建复杂DOM树方面,它的速度比PyXML 的缺省 DOM 实现快得多。
The evaluate() method takes two arguments: a string XPath, a DOM tree to evaluate that XPath against, and an XPath constant indicating the return type.
evaluate()方法拥有两个参数:一个字符串XPath,一个DOM树(用来针对其计算该 XPath),还有一个 XPath常量表示返回类型。
Since injected scripts can access any part of the DOM tree, they can, among other things, steal password information from the text field of login forms.
因为注入脚本可以访问dom树的任何部分,所以它们可以从登录表单的文本字段中窃取密码信息。
Sometimes pages feel less responsive because of too many event handlers attached to different elements of the DOM tree which are then executed too often.
有时由于的太多事件处理程序附加到的dom树,然后过于频繁执行的不同元素页感觉不到响应。
CDomlette is potentially a much faster way of building a DOM tree, but it is currently beta, and might not be entirely API-compatible with other modules.
cDomlette可能是一种更快的构建dom树的方法,但目前是测试版,并且可能不能与其它模块完全api兼容。
So far you've heard that browsers turn a Web page into an object representation and maybe you've even guessed that the object representation is a DOM tree.
到目前为止,您已经知道浏览器将Web页面转换为对象表示,可能您甚至会猜想,对象表示是dom树。
应用推荐