Listing 5 shows how the DOM builds the books XML file.
清单5显示了DOM构建图书XML文件的方式。
Table 2 shows the DOM expressions of locating elements.
表2展示了定位元素的DOM表达式。
The top of the script is similar to the DOM script.
脚本的顶部与dom脚本类似。
Build the DOM structure by hand using the client DOM interface.
使用客户机DOM接口手动构建DOM结构。
Last but not least, there's the DOM, the Document Object Model.
最后还有DOM,即文档对象模型。
Many developers also know when to use SAX and when to use the DOM API.
很多开发人员也知道何时使用SAX,何时使用DOMAPI。
Then Listing 1 parses the results of the query using the DOM extension.
清单1使用DOM扩展解析查询的结果。
Writes an XML representation of the DOM subtree under the specified node.
——写入指定节点下dom子树的XML表示形式。
The document ready function is called after the DOM has been initialized.
在初始化dom以后调用文档ready函数。
A DPTK query expression is a string that describes how to traverse the DOM.
DPTK查询表达式是一个描述如何遍历dom的字符串。
If a jQuery action modified the DOM, then the live bindings are re-evaluated.
如果一个jQuery动作修改了DOM,那活跃绑定就被重新评估。
Our last step is to deliver the requested part of the DOM tree back to the user.
最后一步是将被请求的dom树部分发送给用户。
With the DOM, you can build, modify, query, validate and transform XML Documents.
使用DOM可以构建、修改、查询、验证和转换XML文档。
Wouldn't it make more sense to manipulate the DOM directly using a parsing framework?
这样看来,通过一个解析框架来操纵此 DOM不是更有意义么?
Otherwise, use the DOM API to identify the elements that represent member properties.
否则,请使用DOMAPI来识别代表成员属性的元素。
Scripts can then use the DOM to modify the content dynamically before the user's eyes.
然后,脚本可以使用DOM在用户看到内容之前动态地修改内容。
We use Scriptaculous's Builder library to create the DOM elements for this dynamically.
我们使用Scriptaculous的builder库动态地为它们创建DOM元素。
As you click on any visual elements in the rendering, they'll appear selected in the DOM.
当你点击任何渲染中的视觉元素时,他们会在DOM中显示被选中。
Listing 1 USES indentation to illustrate where each element appears in the DOM node tree.
清单1用缩进表示每个元素在DOM节点树中的位置。
The DOM is good because it is standard and widely implemented, built into other standards.
DOM很好,因为它是一种标准,并且被广泛地实现,同时也内置到其他标准中。
You will also learn about how the libraries let you manipulate the DOM to modify elements.
您还会学到如何使用库操作dom以修改元素。
In the previous section, you saw how to use a tag to create a canvas object inside the DOM.
在上一小节中,您看到了如何使用一个标记来在DOM中创建一个画布对象。
But attributes allow you to identify important elements in the DOM tree and you should use them.
但是属性使您能够确定dom树中的一些重要元素,所以您应该使用属性。
An analysis of several large XML projects revealed some common problems in working with the DOM.
对几个大型XML项目的分析揭示了在使用DOM中的一些常见问题。
Unlike SAX, the DOM API permits editing and saving an XML document back to a file or stream.
与SAX不同,DOMAPI允许对XML文档进行编辑并保存为一个文件或者流。
You will see later that this isn't necessary when you deal with templates that refer to the DOM.
稍后您将看到,在处理引用DOM 的模板时,并不需要这样做。
Each tag has a node attribute that takes a query expression describing a single model node in the DOM.
每种标记都有一个节点属性,该属性携带一个描述DOM中单一模型节点的查询表达式。
This brief summary of the DOM serves as context for understanding how SAX fits into the whole picture.
这个关于DOM的简要概述只为您提供背景知识,以便您更好地全面理解SAX。
You can easily access these elements through the DOM layer API that is introduced in the next section.
可以通过下一节介绍的dom层api轻松地访问这些元素。
In this model, the application code can use the DOM, JDOM, SDO (and so on) API to perform the business logic.
在此模型中,应用程序代码可以使用DOM、JDOM、SDO(等等)api来执行业务逻辑。
应用推荐