For example, get the element tag name as in Listing 18.
例如,像清单18中一样获得元素标签名称。
Obtain the element tag names and element tag text values
获得元素标签名称与元素标签文本值
Notice that you don't need to specify the gd: prefix for the element tag.
注意,无需为element标记指定gd:前缀。
First, determine the element tag and then get the text node value for the element tag.
您首先要确定元素标签,然后获得元素标签的文本节点值。
At the very first start tag of the document (the root element tag), I retrieve the kind attribute from this element.
从文档的第一个起始标签开始(根元素标签),我从该元素中检索kind属性。
Moves to the next start element or end element tag.
移至下一个开始元素或结束元素标记。
White space cannot follow the open angle bracket character '<' in an element tag.
在元素标记中左尖括号字符“<”之后不能有空白。
This method reads the start tag, the contents of the element, and moves the reader past the end element tag.
此方法读取开始标记、元素内容,并将读取器移到结尾元素标记之后。
This error occurs when white space appears between the open angle bracket character '<' and the first character of the element tag.
当左尖括号字符“<”与元素标记的第一个字符之间出现空白时,便会发生此错误。
This error occurs when white space appears between the open angle bracket character '<' and the first character of the element tag.
当左尖括号字符“<”与元素标记的第一个字符之间出现空白时,便会发生此错误。
应用推荐