Leaves the parse positioned following the start tag.
使解析的位置保留在开始标记之后。
StartElement which the parser calls when it reads a start tag.
startElement,语法分析器读取到开始标记时调用它。
startTag(nsi, name) -- Generates start tag without attributes.
startTag(nsi,name)-生成不带属性的开始标记。
Attributes are name-value pairs attached to an element's start tag.
属性是附加到元素起始标记上的名值对。
StartTagAttributes (nsi, name) — Generates start tag with attributes to be added.
startTagAttributes (nsi,name) -生成要添加属性的开始标记。
AttributeText (ns, name) — Gets text value of required attribute from current start tag.
attributeText (ns,name) -从当前的开始标记获取所需属性的文本值。
When overridden in a derived class, writes out a start tag with the specified local name.
当在派生类中被重写时,写出具有指定的本地名称的开始标记。
Make all namespace declarations up in the start tag of the document element if at all possible.
如果可能,将所有名称空间的声明都编排到文档元素的开始标记中。
Reduce the whitespace within the a start tag so that there is a single space before each attribute.
减少a起始标签中的空格,每个属性之前只留下一个空格。
In this example, notice that the element carries the declaration of the xi prefix inside its own start tag.
在这个示例中,请注意元素在其自己的开始标记内声明了xi前缀。
Attribute (nsi, name, value) — Adds attribute to current start tag (value may be String or primitive type).
attribute (nsi,name,value) -将属性添加到当前的开始标记(值可能是String或基本类型)。
This method reads the start tag, the contents of the element, and moves the reader past the end element tag.
此方法读取开始标记、元素内容,并将读取器移到结尾元素标记之后。
When overridden in a derived class, writes the specified start tag and associates it with the given namespace.
当在派生类中被重写时,写出指定的开始标记并将其与给定的命名空间关联起来。
At the very first start tag of the document (the root element tag), I retrieve the kind attribute from this element.
从文档的第一个起始标签开始(根元素标签),我从该元素中检索kind属性。
The major issue is that some of the innermost elements have a start tag but no ending tag, which is required for XML.
最主要的问题是某些最里面的元素具有一个开始标记,却没有结束标记,而这是xml所必需的。
The start tag will invoke the pattern template and dump the result into the specified resource, in our case, dump.xml.
这个start标记将调用模式模板,并将结果转储到指定的资源,在我们的示例中,是dump . xml文件。
Internally, Xerces stores namespace declarations with the rest of the attributes that are specified on an element start tag.
在内部,Xerces将名称空间声明和在元素起始标签中指定的其他属性存储在一起。
Finally, handle_starttag is called for every start tag in a Web page (that is fed into the HTML parser via the feed method).
最后,对web页面中的每个开始标记都调用handle_starttag(它是通过feed方法传递给html解析器的)。
Attributes contribute to somewhat shorter XML because they have only a single tag as opposed to elements with a start tag and an end tag.
属性有助于使XML变得更短,因为属性只需一个标记,而元素则需要一对开始标记和结束标记。
Add another start tag, as shown in the bold text in Listing 5 (or copy it from C:\DPTKArticles\Part1\CodeSnippet1.txt from the download file).
添加另一个start标记,如清单5中的粗体文本所示(或从下载文件的C:\DPTKArticles\Part1\CodeSnippet1.txt 中进行复制)。
If you fail to include an end tag for each start tag, your XML document is not well-formed, and parsers will not parse the document properly.
如果缺少结束标记,XML文档就不是结构良好的,解析器就不能正确地解析文档。
AttributeInt (ns, name, DFLT) — Gets int value of optional attribute from current start tag (returning default value if attribute is not present).
attributeInt (ns,name,dflt) -从当前的开始标记获取可选属性的int值(如果该属性不存在,那么返回缺省值)。
One version that takes a prefix, local name, and namespace URI binds the prefix to the namespace in the new context created by the element's start tag.
其中一个版本包括前缀、本地名称和名称空间uri,此版本将前缀绑定到元素的开始标记创建的新的上下文中的名称空间。
Early user agents incorrectly wrapped lines just after the start tag or just before the end tag of an element, which resulted in dangling punctuation.
早期的用户代理会在元素开始标签之后或者结束标签之前尽心不正确的折行,这可能导致标点符号显示错误。
Another best practice is to make all the necessary associations up in the start tag of the document element, so that they apply throughout the whole document.
另一个最佳实践是在document元素的开始标记中设置所有必要的关联,以便这些关联应用于整个文档。
A compact representation of the overall document structure, where each start tag is represented by a single byte, and the occurrence of content is marked by a 0x02 byte.
总体文档结构的紧凑表示,每个开始标记由单一字节表示,内容的出现由0x02字节标记。
If the child component includes one or more attributes, though, this sequence is complicated by the need to write the attributes to the element start tag as a separate step.
如果子组件包含一个或多个属性,那么这个过程会复杂一些,因为要用一个单独的步骤向元素的开始标记中写入属性。
An element usually consists of two tags, a start tag and an end tag, each of which is bracketed by an open and a close. XML is case sensitive and does not ignore white space.
元素通常包括两个标记,一个起始标记和一个结束标记,分别用和表示。XML大小写敏感,而且空白是有意义的。
An element usually consists of two tags, a start tag and an end tag, each of which is bracketed by an open and a close. XML is case sensitive and does not ignore white space.
元素通常包括两个标记,一个起始标记和一个结束标记,分别用和表示。XML大小写敏感,而且空白是有意义的。
应用推荐