使解析的位置保留在开始标记之后。
此名称将包括在用户控件元素的开始标记中。
This name will be included in the opening tag of the user control element.
不限制在单个开始标记中可以出现的名称空间声明的数量。
The number of namespace declarations that can appear in a single start tag is unlimited.
在原始文档级别格式中,每个开始标记与一个结束标记配对。
In the original document-level format, every start tag was paired to an end tag.
要标记元素的开始标记,像这样将元素名放到尖括号中():。
To mark the beginning tag of the element, place the element's name inside angle brackets () like this: .
以下是常用集合:开始标记、结束标记、遇到的元素文本等等。
These are the usual collection: a tag starts, a tag ends, element text is encountered, and so on.
在XML文档中每次遇到开始标记时都会调用它。
This is called every time an opening tag is encountered in the XML document.
编写属性类似于编写元素开始标记,只是您必须同时提供属性值。
Writing attributes is similar to writing element start tags, except you also must supply the attribute's value.
如果可能,将所有名称空间的声明都编排到文档元素的开始标记中。
Make all namespace declarations up in the start tag of the document element if at all possible.
应用程序很可能已经拥有了写开始标记、结束标记和转义符的功能。
The application most likely has functions to write start tags, end tags, and escape characters already.
XML文档必须包含每个元素匹配的开始标记和结束标记。
XML documents must contain matching start and end tags for each element.
在这个示例中,请注意元素在其自己的开始标记内声明了xi前缀。
In this example, notice that the element carries the declaration of the xi prefix inside its own start tag.
startElement,语法分析器读取到开始标记时调用它。
StartElement which the parser calls when it reads a start tag.
这个title文本被以为开始标记,相应的为结束标记。
要使之格式良好,要么切换开始标记顺序,要么切换结束标记顺序。
To make this well-formed, you would need to switch either the opening tag order or the closing tag order.
startTag(nsi,name)-生成不带属性的开始标记。
startTag(nsi, name) -- Generates start tag without attributes.
在查看XML时,您会发现在相关元素开始标记中的名称空间声明就在属性旁边。
When you look at the XML, you'll see the namespace declarations inside the start tags of the relevant elements, right alongside the attributes. There are two syntax variations.
内部持久性与控件的开始标记上的默认持久性相反,如下面的示例所示。
Inner persistence is in contrast to default persistence on the control's opening tag, as in the following example.
如果您包含了其他词汇,则他们的命名空间声明必须在嵌入部分最外面的开始标记中。
If you do include other vocabularies, their namespace declarations must be in the outermost start tags of the embedded sections.
resultListStart是HTML页面中作为结果返回的搜索结果的开始标记。
ResultListStart is the marker for the start of the search results in the HTML page returned as the result.
我们继续以前面的示例为例,如果添加了名为的元素,它将有一个开始标记和相应的结束标记。
Building on the prior example, if you add an element named, it will have a beginning tag and a corresponding end tag.
最主要的问题是某些最里面的元素具有一个开始标记,却没有结束标记,而这是xml所必需的。
The major issue is that some of the innermost elements have a start tag but no ending tag, which is required for XML.
attributeText (ns,name) -从当前的开始标记获取所需属性的文本值。
AttributeText (ns, name) — Gets text value of required attribute from current start tag.
startTagAttributes (nsi,name) -生成要添加属性的开始标记。
StartTagAttributes (nsi, name) — Generates start tag with attributes to be added.
总体文档结构的紧凑表示,每个开始标记由单一字节表示,内容的出现由0x02字节标记。
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.
属性有助于使XML变得更短,因为属性只需一个标记,而元素则需要一对开始标记和结束标记。
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.
然而,当编码DirectoryReader时,我可能要用一些方法来编写开始标记、结束标记和属性。
However, when coding DirectoryReader, I would probably have methods to write start tags, end tags, and attributes.
它为每个price - quote元素生成两个事件:一个开始标记事件和一个结束标记事件。
It generates two events for each price-quote element: one event for the opening tag and one event for the closing tag.
另一个最佳实践是在document元素的开始标记中设置所有必要的关联,以便这些关联应用于整个文档。
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.
当解析器报告元素开始标记时创建元素表示,但是该元素的初始形式仅仅只是一个壳,其中保存了对解析器的引用。
An element representation is created when the parser reports the element start tag, but the initial form of that element is essentially just a shell which holds a reference to the parser.
应用推荐