Elements can have child nodes.
元素可以具有子节点。
In this case, it has two child nodes.
本例中,它有2个子节点。
It returns results that match all of its child nodes.
它返回匹配它的所有子节点的结果。
Next, you create two child nodes of word via two new queries.
接着,通过两个新的查询,创建word的两个子节点。
You can then go through child nodes until you find the photo node.
然后,您可以遍历子节点,直至找到照片节点。
LXML retains references between child nodes and their parents.
lxml保持子节点及其父节点之间的引用。
The other generates XDIME elements for child nodes of subsequent depth.
另一个为后续深度的子节点生成XDIME元素。
All of the element's child nodes, including text nodes, are now available.
所有元素的子节点,包括文本节点,现在都是可用的。
But where exactly should you store the text that comes between child nodes?
但是您应该在哪里正确地存储子节点之间的文本呢?
It allows any number of child nodes or properties, which can have any names.
它允许使用任意数量的子节点或属性,并且可以使用任意名称。
So far, you have seen pages that deal with child nodes owned by parent nodes.
到目前为止,您已经看到了处理父节点所拥有的子节点的页面。
The second step, "*" navigates to all child nodes of the node named "portlet".
第二步“*”导航名为“portlet”的节点的所有子节点。
They are used to retrieve the link and title child nodes of each item element.
它们用于检索每个itemelement的子节点link和title。
In fact, the text is treated as one or more child nodes under the tagname node.
事实上,该文本被当作tagname节点下的一个或多个子节点处理。
Child step: move from a node to all of that node's child nodes that have a given name.
子步骤:从一个节点移动到该节点的具有给定名称的所有子节点。
In this instance, the table element is the root element, with two child nodes, thead and tbody.
在该例中,table元素是根元素,它有两个子节点,thead和tbody。
A point to note is that iteration takes place over all child nodes, whatever tags they may have.
在这里要注意一点,不管子节点有何标记,对所有的子节点都进行迭代。
The child nodes of item (TITLE, LINK, and so on) correspond to the properties of the Message instance.
项目的子节点(TITLE、LINK等)对应于Message 实例的属性。
By default, formatting white space is discarded and simple elements and attributes do not have child nodes.
缺省情况下,用于格式设置的空白被丢弃,简单元素和属性没有子节点。
For example, a Python module will usually be a node, which contains a number of child nodes for its classes.
例如,一个Python模块通常会作为一个节点,并包含对应于它的类的子节点。
The DOM Level 2 interface includes a method for finding child nodes with a given name. For example, the call
DOM级别2接口包含一个查找给定名称的子节点的方法。
As you move down the tree of nodes, the DN of each parent nodes is included in the DN of its child nodes.
当向下移动节点树时,每个父节点的DN被包含在其子节点的DN中。
The credit card information becomes secure as it resides in the child nodes of the encrypted Payment element.
信用卡信息也变得安全,因为它驻留在加密的Payment元素的子节点中。
Some nodes contain fragments of source code, others documentation, others mainly organize further child nodes.
一些节点包含有源代码片段,一些节点包含的是文档,还有一些节点主要是组织深层的子节点。
In this sense, objects are similar to branch nodes of an HDBMS, which likewise contain a bundle of child nodes.
从这个意义上说,对象与HDBMS的分支节点很象,它同样也包含许多子节点。
As an example, you will model a class node for a binary tree, with 2 Pointers to the left and right child nodes.
例如,您可以为一个二进制树建立类型Node两个指针指向左右子节点。
The root node can contain many child nodes. Each child node can contain its own set of child nodes and so on.
根节点可以包含多个子节点,子节点可以包含自己的子节点,依次类推。
Just think of each row in your table as potentially having column data, as well as optionally having child nodes.
您表中的每行可能有列数据,也可能有子节点。
You take a sequence of passed in elements and make them child nodes of the Service element that you are creating.
您将获得一串传入的元素,将它们作为正在创建的Service元素的子节点。
Because its child nodes (including the element) don't contain namespace prefixes, they don't belong to any namespace.
由于它的子节点(包括元素)不包含名称空间前缀,因此它们不属于任何名称空间。
应用推荐