A snippet node computes a value or performs some task.
代码片段节点计算一个值或执行某一任务。
The input value can be a simple expression or be a value computed by another node.
该输入值可以是一个简单表达式,或者是由另一节点计算的一个值。
Consider a scenario in which an application needs to change the value of an XML node.
考虑这样一个场景,即一个应用程序需要更改一个xml节点的值。
Node types are returned as integers, and allow you to handle each node appropriately; an element (type 1) has a name, but no value, whereas a text node (type 3) has a value but no name.
节点类型以整数返回,并且允许您适当地处理每一个节点;一个元素(类型1)有名称没有值,但是一个文本节点(类型3)有值没有名称。
A node object has a value that is an element in the pattern.
一个节点对象有一个值,它是图案中的一个元素。
First, determine the element tag and then get the text node value for the element tag.
您首先要确定元素标签,然后获得元素标签的文本节点值。
As discussed above, this can present difficulties both in traversing the document to find the desired node and in retrieving the value of the node.
正如上面所讨论的,这会为遍历文档来查找期望的节点和检索节点值带来困难。
The first query returns the full element node, i.e. 29, while the second query only returns its text node value 29.
第一个查询将返回完整的元素节点,即29,而第二个查询仅返回其文本节点值29。
When you execute the code in Listing 4, the result is the atomic value of one node.
执行清单4的代码后,结果得到的是一个节点的原子值。
When working with XML data, you need to parse the data to get to the least common denominator-the desired data (or atomic node value, as it is often called).
在处理XML数据时,需要对这些数据进行分析以获得最小公分母,即您想要的数据(经常被称之为原子节点值)。
An element is an element node; an attribute (and its value) is an attribute node; even text within an element is a text node.
元素有元素节点,属性(包括属性值)有属性节点,元素中的文本则是文本节点。
Specifically, the value of the node name for the V6 profile must match the node name from the V5 federated node.
具体来说,V6配置文件的节点名称的值必须与V5联合节点的节点名称相匹配。
Calculating a value for a node is somewhat different from determining whether that node is relevant to the overall model, as is determining whether a given node is schematically valid.
计算节点的值与判断这个节点是否与整个模型相关有所不同,因为后者是判断给定的节点是否合法有效。
After the recursive call completes, we add the value of the current node to the results of the recursive call.
递归调用之后,我们将当前节点的值加到递归调用的结果上。
To locate an atomic node value is to extract desired values from the XML document.
定位原子节点值也就是从XML文档中提取想要的值。
Another common action is to set the value of a node to a desired value, as shown in Listing 3.
另一项常用的操作是将节点的值设置为希望的值,如清单3所示。
When you execute the code in Listing 3, the result is an array output of the value of each NAME node of the XML tree.
若执行清单3中的代码,结果得到的是此xml树中每个name节点值的数组输出。
The question marks (?) in the expression are replaced with the existing text value of the target node.
表达式中的问号(?)将由目标节点的现有文本值替换。
The expression is then computed, and the resulting value replaces the existing value in the target node.
然后计算表达式,得到的值将替换目标节点中的现有值。
The expression is then computed and the resulting value replaces the existing value in the target node.
然后,计算表达式,得到的值将替换目标节点中的现有值。
Instead of just returning a single value for each node in the result set, an XML string is returned.
返回的不是结果集中每个节点的值,而是一个xml字符串。
Another common action is to set the value of a node to a desired value, as shown in Listing 3.
另一项常见操作是将节点值设置成期望的值,如清单3中所示。
The most commonly performed action when working with XML documents is looking up the value of a given node.
使用XML文档时,最常执行的操作是查找给定节点的值。
The everything-is-a-node abstraction also loses some value because of the number of node types that exist and because of the lack of uniformity present in their access methods.
“一切都是节点”的抽象还因为存在一些节点类型和访问方法一致性的缺乏而丧失了一些价值。
In the main.xml file, add a TextView widget for each label and element text node value.
在main . xml文件中,为每个标签和元素文本节点值添加一个TextView小部件。
Here is an example of setting the startup value for all node records.
下面的示例设置所有节点记录的startup值。
Here is an example of setting the startup value for an individual node.
下面的示例设置一个节点记录的startup值。
The replace expression is used to update a particular value of a particular node.
replace表达式用来更新特定节点的特定值。
In many ways, for is the assignment of a variable to the current value in a node set, so you can operate on that variable.
在很多方面,for就将节点集的当前值赋给变量从而操作该变量。
You can set the startup value for individual node records or set the startup value for all node records.
可以为各个节点记录单独设置startup值,也可以设置所有节点记录的startup值。
应用推荐