通常可以通过指定元素路径来缩小搜索结果;结果将是自路径末尾的匹配节点(参见清单4)。
You can often narrow the search results by specifying a path of elements; the results will be matching nodes from the end of the path (see Listing 4).
这需要您将几个文件和路径元素嵌入到您的公共脚本头部中。
This will require you to embed several file and path elements into your common script headers.
路径位置——如果不存在,则创建指向目标元素的导航路径上的所有祖先元素,并返回可修改树的目标元素。
Path location — Creates all ancestors on the navigation path to a target element if they don't exist and returns the target element for a modifiable tree.
应用推荐