To read attributes, you stop at the start of an element and request a specific attribute, either by name or number.
若要读取属性,请停止在元素的起点处,通过名称或编号来请求特定属性。
Therefore, in the assembly, this element corresponds to two nodes: a list to hold the number of instances whose name is the same as the element name and a child item named text() inside the list.
因此在程序集中,这个元素对应于两个节点:一个用于存放实例(名称与元素名一样)数的列表和列表内一个名为text() 的子项。
The minimum number of words in a data element name is two (prime word + class word), and the maximum number of words is nine.
数据元素名称中最小的单词数量是2个(基本单词+类单词),最大单词数量是9个。
However, you also want to include the name, symbol, atomic number, and atomic weight; you can select each of these by using an XBL: content element in the template.
不过,我们还希望填充一些元素名、元素符号、元素号和原子量,可以在模板中使用xbl:content元素来选择这些内容。
Listing 25 shows an example input message that contains an unbounded number of occurrences of the Player element. Each Player has an associated Name and team.
清单25所示的输入消息包含数量不限的Player元素。
Each data element name shall contain a sufficient number of modifiers and qualifiers to fully describe it (up to four modifiers per prime word and one modifier plus two qualifiers per class word).
每个数据元素名称应该包含数量足够的修饰词和限定词,以便充分描述它(每个基本单词最多有四个修饰词,每个类单词最多有一个修饰词和两个限定词)。
You can refer to a particular element in an array by referring to the name of the array and the index number. The index number starts at 0.
你可以指示数组的名称和索引数字来从数组中提出一个单独的元素。索引数字从0开始。
Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a double-precision floating-point number.
检查指定的本地名称和命名空间uri与当前元素的本地名称和命名空间uri是否匹配,然后读取当前元素,并将内容作为双精度浮点数返回。
Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a single-precision floating-point number.
检查指定的本地名称和命名空间uri与当前元素的本地名称和命名空间uri是否匹配,然后读取当前元素,并将内容作为单精度浮点数返回。
Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a single-precision floating-point number.
检查指定的本地名称和命名空间uri与当前元素的本地名称和命名空间uri是否匹配,然后读取当前元素,并将内容作为单精度浮点数返回。
应用推荐