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表达式。
Build the DOM structure by hand using the client DOM interface.
使用客户机DOM接口手动构建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 you want to learn more about the DOM, please visit our XML DOM tutorial.
如果你想学习有关XMLDOM方面的知识,请访问我们的XML DOM教程。
If you want to learn more about the DOM, please visit our HTML DOM tutorial.
如果你希望学习更多关于HTMLDOM的教程,请查阅我们的HTML 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文档。
Weinre also supports viewing and editing the DOM and CSS styles of the debug target.
Weinre同样也支持调试目标的DOM和CSS查看和修改。
The problem with this code is that this returns each and every td element in the DOM.
这段代码的问题是它将返回DOM中的所有td元素。
Otherwise, use the DOM API to identify the elements that represent member properties.
否则,请使用DOMAPI来识别代表成员属性的元素。
Wouldn't it make more sense to manipulate the DOM directly using a parsing framework?
这样看来,通过一个解析框架来操纵此 DOM不是更有意义么?
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元素。
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很好,因为它是一种标准,并且被广泛地实现,同时也内置到其他标准中。
In the previous section, you saw how to use a tag to create a canvas object inside the DOM.
在上一小节中,您看到了如何使用一个标记来在DOM中创建一个画布对象。
Unlike SAX, the DOM API permits editing and saving an XML document back to a file or stream.
与SAX不同,DOMAPI允许对XML文档进行编辑并保存为一个文件或者流。
The DOM is increasingly exposed in tools: Web browsers, SVG browsers, OpenOffice, and others.
DOM正逐渐出现在一些工具中,比如Web浏览器、SVG浏览器、OpenOffice,等等。
To correctly verify such a signature, the DOM for the XForms instance data must be constructed.
要准确地验证此类签名,必须为X Forms实例数据构建DOM。
An analysis of several large XML projects revealed some common problems in working with the DOM.
对几个大型XML项目的分析揭示了在使用DOM中的一些常见问题。
You will see later that this isn't necessary when you deal with templates that refer to the DOM.
稍后您将看到,在处理引用DOM 的模板时,并不需要这样做。
The DOM is built into more than Web browsers now and is a part of many XML-based specifications.
DOM现在不仅内置于Web 浏览器,而且也成为许多基于XML 的规范的一部分。
Using the DOM and JDOM APIs and the like directly to write to a file from your XML data structure
使用DOM和JDOM 之类的API 将XML数据结构直接写入文件
The code to read the books XML file and display the contents using the DOM is shown in Listing 2.
读取图书XML文件并用DOM显示内容的代码如清单 2所示。
Each tag has a node attribute that takes a query expression describing a single model node in the DOM.
每种标记都有一个节点属性,该属性携带一个描述DOM中单一模型节点的查询表达式。
应用推荐