The following rule matches all H1 elements in the document tree
如下的规则匹配文档树中所有的H1元素
Indeed SAX does not explicitly build the document tree in memory.
实际上,SAX并不在内存中显式地构建文档树。
All along, SAX2BestDeal tracks its position in the document tree.
SAX2BestDeal一直跟踪其在文档树中的位置。
The node object represents a single node in the document tree.
节点对象代表了节点树中的一个单独的节点。
You can traverse the document tree, prune nodes, or graft on new ones.
您可以遍历文档树、删除节点或者嫁接新节点。
This method returns an empty node that is not linked anywhere in the document tree yet.
该方法返回一个尚未连接到文档树中任何位置的空节点。
It then traverses the original document tree by copying it to the output document tree.
然后遍历原始的文档树并复制到输出文档树中。
The parser does this by creating a document tree using a document tree manager class.
剖析器会使用文件树状结构管理员类别建立文件树状结构,以达到这个目的。
The elements of the document tree that match a selector are called subjects of the selector.
文档树中匹配一个选择符的元素称为那个选择符的主题。
The DocumentBuilder class provides a way to build an XML document tree from a stream of bytes.
documentbuilder类提供了一种方法来通过一个字节流构建一个XML文档树。
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.
一旦利用对象信息构建完文档树之后,就可以提取特定元素的值了。
This method allows you to find out how two nodes are positioned with respect to each other in the document tree.
这个方法让您可以找出两个节点在文档树中的相对位置。
However, there is an experimental Python source code parser that treats a Python source file as a document tree.
然而,有一种实验性的python源代码解析器,它将python源文件作为文档树处理。
Now, let's suppose you wanted to generate an XML document tree that nested multiple elements within an outer element.
现在,假设您希望生成一个XML文档树,它将多个元素嵌入到外部的元素中。
Pay close attention to the message at the top of the browser area. In particular "The document tree is shown below."
仔细看看浏览器区域顶部的消息,即 “The document treeisshown below.”
The elements in an XML document form a document tree. The tree starts at the root and branches to the lowest level of the tree.
这些元素位于XML树状结构文档内。树状结构起始于根元素,并向更低级别的树状分支结构扩展。
DOM, for example, parses the whole document and constructs a complete document tree in memory before it returns control to the client.
比如,DOM需要解析全部文档并在内存中构造完整的文档树,然后才把控制交给客户。
If you are processing a large XML data tree, keep in mind that SimpleXML loads the full XML document tree into memory before processing.
如果您处理的是一个大型的XML数据树,那么请务必注意SimpleXML在处理前是需要将整个XML文档加载到内存中的。
XPath provides the expression language necessary to locate and retrieve individual nodes or node collections from the HTML document tree.
XPath提供从HTML文档树定位和检索单个节点或节点集所需的表达式语言。
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.
可以分析rxp . c文件的源代码,以了解rxp解析生成紧凑文档树作为数据结构的方法。
Although this method creates the new object in the context of the document, it does not automatically add the new object to the document tree.
虽然这个方法会在文件的内容中建立新的物件,但是不会自动将新物件加入文件树状结构。
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.
DOMDocument类:查阅有关这个类的PHPManual项,这个类代表了整个HTML或XML文档并充当文档树的根。
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.
请注意,语法分析器传递了足够信息以构建XML文档的文档树,但是与dom语法分析器不同,它并不显式地构建该树。
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.
从文档树的根开始向下移动到触发事件的元素,其中每个元素都有机会处理该事件。
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.
我在以前的文章中曾经提到,影像树对于呈现定制元素的巨大好处是它保留了一个健康的、井井有条的文档树。
At the end of the syntax verification, there is an AST corresponding to the XAML that a XAML-specific document tree which ACTS as a view or cursor into that AST.
在语法验证要结束时,有一个对应到xaml的ast,这个XAML特定的文件树状结构作用就如同该ast中的检视或游标。
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).
还可以根据上下文—嵌套它们的父元素或文档树中在它们层次之上的元素(祖先),使用不同方式处理元素。
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).
还可以根据上下文—嵌套它们的父元素或文档树中在它们层次之上的元素(祖先),使用不同方式处理元素。
应用推荐