假设每个部门的子节点表示一组用户。
This is assuming that the children of each department represent a group of users.
用新的子节点替换一个子节点。
根节点的子节点深度为一,依此类推。
得到元素的子节点。
所有元素的子节点,包括文本节点,现在都是可用的。
All of the element's child nodes, including text nodes, are now available.
get children:获取节点的子节点列表。
我们能简单写一个函数,检索没有父节点的子节点。
We can simply write one function, which retrieves the children of a certain parent node.
您不能访问address的子节点的任何文本内容。
You don't access any of the text of the children of address.
在那种情况下,当您需要它的子节点时要说明这种可能性。
In that case, you need to account for the possibility when you ask for it's children.
在图1中,engineers组是engineering部门的子节点。
In Figure 1, the engineers group is a child node of the engineering department.
它们用于检索每个itemelement的子节点link和title。
They are used to retrieve the link and title child nodes of each item element.
这个模式将会和一个具有任意类型的子节点的UserList元素匹配。
This pattern will match a UserList element with any kind of children.
每个定义的样式都是该根节点的子节点,并且都取名为“Style”。
Each style definition must be a child of the root node with a "style" name.
updatevalue ——这是每个更新命令(//update/*)的子节点。
update value - This is the child node of each update command (//update/*).
但是您应该在哪里正确地存储子节点之间的文本呢?
But where exactly should you store the text that comes between child nodes?
这个表达式选择元素的子元素之间的所有文本节点。
This expression selects all text nodes between the children of the element.
元素是元素的一个子节点。
所有子步骤:从一个节点移动到该节点的所有子节点。
All children step: move from a node to all of that node's children.
最后,注意图1中departments节点的最后一个子节点。
Finally, notice the last child node of the departments node in Figure 1.
树顶部的books节点有两个book子标记。
The books node at the top of the tree has two child book tags.
此操作将删除当前节点的所有子节点,您要继续吗?
This will delete all of the current node's children, do you wish to continue?
将运算式中的目前行为传播到子节点。
Propagates the current behavior in the expression to child nodes.
子项目仅是这个节点的直接子系。
The child entries are only the immediate children of this node.
子项目仅是这个节点的直接子系。
The child entries are only the immediate children of this node.
应用推荐