它匹配在文档树中的任意一个元素。
如下的规则匹配文档树中所有的H1元素
The following rule matches all H1 elements in the document tree
您可以遍历文档树、删除节点或者嫁接新节点。
You can traverse the document tree, prune nodes, or graft on new ones.
实际上,SAX并不在内存中显式地构建文档树。
Indeed SAX does not explicitly build the document tree in memory.
如图5所示,这些事件共同向应用程序描述了文档树。
As Figure 5 illustrates, taken together, the events describe the document tree to the application.
该方法返回一个尚未连接到文档树中任何位置的空节点。
This method returns an empty node that is not linked anywhere in the document tree yet.
文档树中匹配一个选择符的元素称为那个选择符的主题。
The elements of the document tree that match a selector are called subjects of the selector.
这个方法让您可以找出两个节点在文档树中的相对位置。
This method allows you to find out how two nodes are positioned with respect to each other in the document tree.
然后遍历原始的文档树并复制到输出文档树中。
It then traverses the original document tree by copying it to the output document tree.
SAX2BestDeal一直跟踪其在文档树中的位置。
All along, SAX2BestDeal tracks its position in the document tree.
htpasswd文件并不是以普通形式存在于文档树中。
只有需要从文档树中的多个位置观测一个事件时才会造成区别。
The distinction only matters if a single event will be observed from multiple places in the document tree.
一旦利用对象信息构建完文档树之后,就可以提取特定元素的值了。
Once the document tree is built from the object information, the value of specific elements can be extracted.
从文档树的根开始向下移动到触发事件的元素,其中每个元素都有机会处理该事件。
Starting at the root of the document tree and moving down to the element where the event was triggered, each element is given the opportunity to handle the event.
XPath提供从HTML文档树定位和检索单个节点或节点集所需的表达式语言。
XPath provides the expression language necessary to locate and retrieve individual nodes or node collections from the HTML document tree.
现在,假设您希望生成一个XML文档树,它将多个元素嵌入到外部的元素中。
Now, let's suppose you wanted to generate an XML document tree that nested multiple elements within an outer element.
documentbuilder类提供了一种方法来通过一个字节流构建一个XML文档树。
The DocumentBuilder class provides a way to build an XML document tree from a stream of bytes.
比如,DOM需要解析全部文档并在内存中构造完整的文档树,然后才把控制交给客户。
DOM, for example, parses the whole document and constructs a complete document tree in memory before it returns control to the client.
可以分析rxp . c文件的源代码,以了解rxp解析生成紧凑文档树作为数据结构的方法。
You can look through the source code for the file rxp.c to see the way that RXP parsing generates a compact document tree as a data structure.
然而,有一种实验性的python源代码解析器,它将python源文件作为文档树处理。
However, there is an experimental Python source code parser that treats a Python source file as a document tree.
还可以根据上下文—嵌套它们的父元素或文档树中在它们层次之上的元素(祖先),使用不同方式处理元素。
The elements can also be treated differently based on their context-the parent elements in which they are nested or elements hierarchically above them in the document tree (ancestors).
DB 2使用XSCAN操作符来遍历XML文档树,如需要,还将计算谓词和提取文档片断和值。
DB2 USES the XSCAN operator to traverse XML document trees and, if needed, to evaluate predicates and extract document fragments and values.
我在以前的文章中曾经提到,影像树对于呈现定制元素的巨大好处是它保留了一个健康的、井井有条的文档树。
As I said in my previous article, one huge advantage of shadow trees for the rendering of custom elements is that they leave a healthy and un-cluttered document tree.
Python模块内的文档可以转换成Docutils文档树,然后再转换成各种输出格式(通常是在单个脚本内)。
The documentation within Python modules can be converted to Docutils document trees, and in turn to various output formats (usually within a single script).
以通用的方式向XML数据应用类似SQL的语法和过滤器的这种能力,可以极大地减轻从完整的XML文档树提取信息的工作。
This ability to apply SQL-like syntax and filters to XML data in a generic fashion can significantly ease the task of extracting information from complex XML document trees.
请注意,语法分析器传递了足够信息以构建XML文档的文档树,但是与dom语法分析器不同,它并不显式地构建该树。
Note that the parser passes enough information to build the document tree of the XML documents but, unlike a DOM parser, it does not explicitly build the tree.
DOMDocument类:查阅有关这个类的PHPManual项,这个类代表了整个HTML或XML文档并充当文档树的根。
DOMDocument class: Check out the PHP Manual entry for this class, which represents an entire HTML or XML document and serves as the root of the document tree.
WSIL规范为访问现存的服务提供了强有力的方式;然而,WSIL文档可能包含一些对其它WSIL文档的引用,这些文档能创建n层wsil文档树。
The WSIL specification provides a powerful way to access existing services; however, WSIL documents might contain references to other WSIL documents creating an n-level WSIL document tree.
XSLT 2.0规范引入了很多特性,比如函数定义、多结果文档、序列和临时树、更强的类型设置以及文本分析。
Many features were introduced in the XSLT 2.0 specification-features like function definitions, multiple result documents, sequences and temporary trees, stronger typing, and text parsing.
XSLT 2.0规范引入了很多特性,比如函数定义、多结果文档、序列和临时树、更强的类型设置以及文本分析。
Many features were introduced in the XSLT 2.0 specification-features like function definitions, multiple result documents, sequences and temporary trees, stronger typing, and text parsing.
应用推荐