Building on the prior example, if you add an element named, it will have a beginning tag and a corresponding end tag.
我们继续以前面的示例为例,如果添加了名为的元素,它将有一个开始标记和相应的结束标记。
An XML document can have some empty tags that do not have anything inside and can be expressed as a single tag instead of as a set of beginning and end tags.
XML文档可以使用内部不包含任何内容的空标记,这些标记可以表示为单个标记,而不是一组开始和结束标记。
Since any given element is contained within the start and end tag of its containing element, the structure has to form a tree.
由于任何给定元素都包含在包容它的元素的开始与结束标记之内,因此该结构必然为树型。
Your handler generally needs to accumulate text until the end tag is reported, and then do something with the text.
处理程序一般在报告结束标记之前,需要做累积文本的工作,随后对文本做某些操作。
What's more, Common Tag metadata connects concepts to one another, allowing publishers and developers to present end users with even more related content.
更重要的是,通用标签的元数据互相连接,这使得内容发布者和开发者向最终用户呈现出更多相关内容。
Note that you always need to end the list with the end tag, but that the is optional and can be left off.
注意您始终需要使用结束标记来终止列表,但是可选的,它可以自动终止。
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大小写敏感,而且空白是有意义的。
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变得更短,因为属性只需一个标记,而元素则需要一对开始标记和结束标记。
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文档就不是结构良好的,解析器就不能正确地解析文档。
The Common Tag format was developed to address the current shortcomings of tagging and help everyone—including end users, publishers, and developers—get more out of Web content.
通用标签格式能解决当前标签系统的缺陷,它能使所有人(包括最终用户、内容发布者、开发人员)从Web内容里挖掘出更多有用的东西。
endElement() which the parser calls when it hits a end tag
endElement() ,语法分析器遇到结束标记时调用它
writes the content (the text between the start and end tag in an XML file) for the one node described by its node attribute.
——写入node 属性描述的一个节点的内容(XML文件中开始和结束标记之间的文本)。
In Rich text Format (RTF), bold text starts with "\ b" and it optionally may end with "\ b0", so the correct TMX inline tag to use is.
在RichTextFormat (rtf)中,粗体文本以“\b”开始,用“\b0”结束或者省略,因此正确的TM x行内标签是。
If you know you're not going to put a page at the end of the URL, choose tag URIs as identifiers rather than HTTP URLs.
如果不想在URL的另一端放上页面,则应使用标签uri而不是HTTP URL。
Finally, the parser meets price-list's closing tag and it generates its two last events: closing price-list and end of document.
最后,语法分析器遇到price - list的结束标记并生成它的最后两个事件:结束price - list和文档结束。
EndElement represents the element's closing tag (or simply the end of the element's markup, if it is an empty element).
EndElement表示元素的结束标记(或元素标记的结束,如果是空元素的话)。
The question, though, is what about the whitespace between the end of the opening arena tag and the opening of the ice element.
这里的问题是关于开始arena标记的末尾处和ice元素开始处之间的空格。
Inside a row class, the label tag sets the text to bold and puts it back to the end of the line.
在row类中,label标记将把文本设为粗体并将它放回到该行的末尾。
Then, the page starts the tag, the text_field and text_area items for each field, a tag, and the end of the form.
然后依次为标记、每个字段的text _ field和text_are a项、标记和表单末尾。
Additionally, all tag attributes must have a start and an end quote, and tags must not become entangled, as happens so often in HTML development.
此外,所有的标记属性都必须有一个起始引号和结束引号,并且这些标记都必须被括住,如在HTML开发中那样。
As it encounters memory, it marks the tag as 1. Everything not tagged 1 at the end is considered garbage and reused for later allocations.
当它遇到内存时,就将标签标记为1。最后没有被标记为1的所有内容都认为是垃圾,以后分配内存时会重新使用它们。
This involves appending the above composite tag with a unique identifier for each of the back-end systems.
这涉及到对上面的组合标记追加每个后端系统的唯一标识符。
Empty elements are converted to start-end tag pairs.
将空的元素转化成起始-结束标签对。
Writing a test for a simple one-line tag might seem excessive, but you'd be surprised how many times the one-liners end up being the source of trouble.
为只有一行代码的标记编写测试看起来似乎有些过分,但是很多时候问题的源头正是这一行代码。
Writing a test for a simple one-line tag might seem excessive, but you'd be surprised how many times the one-liners end up being the source of trouble.
为只有一行代码的标记编写测试看起来似乎有些过分,但是很多时候问题的源头正是这一行代码。
应用推荐