After testing for the value, the script prints the evaluation to the screen by modifying the DOM structure shown in Listing 2.
检测完该值后,脚本会通过修改清单2中显示的DOM结构来将这个评估结果显示在屏幕上。
Table 2 shows the DOM expressions of locating elements.
表2展示了定位元素的DOM表达式。
While DOM Level 2 has not been finalized, JAXP 1.1 supports the specification as it now stands.
虽然DOM级别2还没有完成,但是,JAXP 1.1支持其目前的规范。
Listing 2 illustrates the use of the DOM to create an XML string and XML document, formatted for your viewing pleasure.
清单2示范了使用DOM创建XML字符串和XML文档并设置格式以便查看。
This is a DOM object representing the XML document seen in Listing 2.
这是一个DOM对象,表示清单2中的XML文档。
The code to read the books XML file and display the contents using the DOM is shown in Listing 2.
读取图书XML文件并用DOM显示内容的代码如清单 2所示。
The code snippet shown in Listing 2 specifies that any element (Dojo widget) that needs to be rendered is created in this method and added to the DOM node of the container div.
清单2中显示的代码片段规定:要呈现的任何元素(Dojowidget)都在此方法中创建,并且添加到容器div的DOM节点上。
In Part 2, I'll show you how to load, manipulate, or synthesize a DOM document, and create the same bar graph using Scalable Vector Graphics (SVG).
在第2部分,我将向您展示如何装载、操作或者合成一个DOM文档,并用可伸缩矢量图(Scalable VectorGraphics,SVG)创建同样的条形图。
The DOM Level 2 interface includes a method for finding child nodes with a given name. For example, the call
DOM级别2接口包含一个查找给定名称的子节点的方法。
In Listing 2, I only use the base level of DOM for XML processing, called DOM level 1.
在清单2中,只使用DOM的基本层(叫做DOMLevel 1)进行XML处理。
Listing 2 shows how to use the Validator interface to validate DOM documents.
清单2说明如何使用Validator接口验证DOM文档。
I'll cover Source in more detail in Part 2; for now, just know that it represents a document somewhere, on disk, as a DOM document or just about anything else.
我将在第2部分更详细地介绍Source;现在只要知道它表示磁盘某个位置的文档,可以是DOMDocument或其他文档。
DOM level 2.0: The W3C Document Object Model level 2 API Recommendation.
DOM级别2.0:w3c文档对象模型级别2API推荐。
In DOM Level 2, renaming a node was a relatively expensive operation: You had to create a new node, copy all the data to the new node, insert the new node into the tree, and delete the old one.
在DOMLevel2中,重命名一个节点的操作代价较高:必须在树中创建一个新节点,并删除老的节点。
In DOM Level 2, renaming a node was a relatively expensive operation: You had to create a new node, copy all the data to the new node, insert the new node into the tree, and delete the old one.
在DOMLevel2中,重命名一个节点的操作代价较高:必须在树中创建一个新节点,并删除老的节点。
应用推荐