元素标签与元素文本节点是垂直堆放的。
The element labels and element text nodes are stacked vertically.
XML文档只需要解析元素与元素文本节点。
The XML document has only elements and element text nodes to parse.
以下是常用集合:开始标记、结束标记、遇到的元素文本等等。
These are the usual collection: a tag starts, a tag ends, element text is encountered, and so on.
当您用编码的方式处理元素文本中的相同信息时,也会陷入同样的困境。
You can land yourself in the same predicament by encoding that same information in element text, like this.
以下是常用集合:开始标记、结束标记、遇到的元素文本等等。
These are the usual collection : a tag starts , a tag ends , element text is encountered , and so on.
所有的定位点元素文本都有一个不同的蓝色阴影,这取决于链接是否访问过。
All anchor element text will have a different shade of blue depending whether the link was visited or not.
把相应的元素文本从Input面板拖放到Output面板中刚创建的元素中。
Drag the corresponding element text from the Input panel to the newly created elements in the Output panel.
在创建XML元素文本时,可以为元素名称指定XML命名空间前缀。
When creating an XML element literal, you can specify the XML namespace prefix for the element name.
有一些技术使用了其他一些模式语言,尽管不是很常用,但是能够更好地处理属性和元素文本。
Although they are infrequently used, some techniques (that use other schema languages) work better with attributes and element text.
有时,缓冲区可能只附加一次内容(整个的元素文本内容),另外一些时候,可能会附加四到五次。
Sometimes, the buffer may only have one piece of content appended (the entire element's textual content); other times, this appending may happen four or five times.
解析xml文档并使用标签输出元素值,将标签与元素文本节点值输出到TextView小部件上。
Parse the XML document and use labels to output the element values. The labels and element text node values are output to TextView widgets.
您只会看到START _ TAG与TEXT事件类型,它们分别对应于元素开始标签与元素文本节点。
You'll find only the START_TAG and text event types, which correspond with element start tags and element text nodes.
还好,我还可以再次使用清单3中定义的测试用例来验证文档的结构,并可以有效忽略元素文本值和属性值。
Fortunately, I can reuse the test case defined in Listing 3 to validate the document's structure, by effectively ignoring element text values and attribute values.
在具有混合内容的元素的文本中指定一个约束规则。
Specify a constraining rule on the text in an element with mixed content.
清单18中的模板将元素从文本节点中分离出来。
The templates in Listing 18 isolate the elements from the text nodes.
它接受单个元素、文本节点或注释。
在DOM 中,文档被模型化为一棵树,其中每个XML语法成分(如元素和文本内容)都用一个节点表示。
In DOM, the document is modeled as a tree, where each component of the XML syntax (such as an element or text content) is represented by a node.
您可能发现自己会有这样的要求:只希望得到目标元素的文字内容,而去掉所有嵌套的元素的文本内容。
You may find yourself in a situation where you want only the textual content of the target element, and would rather omit all nested elements' textual content.
只有当没有嵌套元素时,收集文本内容才是安全的。
Only when you have no nested elements is it safe to gather textual content.
现在剩下要做的就是用服务器的数据实际替代这些元素的文本。
Now all that's left is to actually replace the text of these elements with the server's data.
文档对象模型将XML文档内的元素、文本和其他类型的节点呈现为一系列的父子关系。
The document Object Model represents elements, text, and other types of nodes within an XML document as a series of parent-child relationships.
基础是直线、矩形、形状、图片和文本这些元素。
The primitives are elements such as lines, rectangles, shapes, images, and text.
通常以斜体字文本显示元素。
标签元素用来显示静态文本。
可能需要规范化这个新元素的文本节点以简化后续操作。
Optionally, normalize the text nodes of this new element, to make sure things are easier later on.
不过要注意,它不但包含了目标元素的文本内容,还包含了其子元素的文本内容。
Notice, though, that this includes the textual content for the target element, as well as textual content for its child elements.
您首先要确定元素标签,然后获得元素标签的文本节点值。
First, determine the element tag and then get the text node value for the element tag.
应避免不同页面元素(文本、图标、字段等)之间的额外垂直和水平空间以及页面边框。
Excessive vertical and horizontal spacing between various page elements (text, ICONS, fields, and so on) and page borders should be avoided.
一般来说,元素节点是文本节点的父节点,但这里谓词实际上引用了元素中的文本。
In general, an element node is the parent of a text node; but here, the predicate essentially de-references the text within an element.
一般来说,元素节点是文本节点的父节点,但这里谓词实际上引用了元素中的文本。
In general, an element node is the parent of a text node; but here, the predicate essentially de-references the text within an element.
应用推荐