替换元素的所有内容(子节点和属性)。
最终序列化的XML,然后使用正则表达式来查找和替换元素内的一切。
Ended up serializing the XML, then using regex to find and replace everything inside the element.
如果test属性上的XPath表达式最终值为true,那么将选择指定的type替换元素中声明的类型。
If the XPath expression on the test attribute has evaluated to true, then the specified type is selected as a substitution for the one declared on the element.
所以你可以在全局的列表或者字典里面添加、删除或者替换元素,但如果你要重新给这个全局变量赋值,就必须要声明了。
So you can add, remove and replace elements of a global list or dictionary, but if you want to reassign the variable, you have to declare it.
仅当您确实不想告诉模型导入器在先前的步骤中替换uml元素时,执行该步骤。
Perform this step only if you did not tell the model importer to Replace UML elements in the previous step.
用于将已选择的元素替换为HTML标记。
您也可以对引用一个抽象元素的替换使用这种技巧。
You can also use this technique with substitutions that reference an abstract element.
实际上,多数数据绑定文章中如果将xml替换为SQL,元素数据更改为表记录,讨论的内容就变成了SQL数据绑定了。
In fact, if you replace XML with SQL and element data with table entry in most data binding articles, you've already got a handle on what SQL data binding is all about.
更好的设计是使用唯一元素名称替换清单1中的非唯一元素名称,如清单5所示。
A better design is to replace the non-unique element names in Listing 1 with unique element names, as Listing 5 describes.
它带两个参数——替换文本节点和被替换的子元素。
This takes in two parameters — the replacement text node and the child element that it's replacing.
可以用专门化的元素替换基本内容模型内的元素。
Specialized elements can be substituted for elements in the base content model.
当然,作为替换群成员的元素声明块可以在一个单独存储并包含在一个主模式中的模式模块中管理。
Of course, the block of element declarations that are substitution group members can be managed in a schema module that is stored separately and included in a main schema.
当找到这些不需要的语言元素后,可能需要用具有类似功能的元素替换它们,并且THREAD编译器选项支持这些替换的元素。
When you find those unwanted language elements, you may need to replace them with elements with similar functions that the THREAD compiler option supports.
情形数据包括情形事件,情形种类,情形部署优先权,描述事件的严重性,消息以及替换消息元素。
The situation data includes situation time, situation category, situation disposition priority, severity, message, and substitutable message elements.
另一种特殊情况是cumulate方法,该方法根据指定的组合操作用累积值替换每个元素。
Another special case is the cumulate method, which replaces each element with a running accumulation according to a specified combination operation.
也就是希望(用带兔子的新图片)替换的img元素,因此将HTML改为清单2的形式。
That's the img element you want to replace (with a new image containing the rabbit); so you need to change our HTML to look like Listing 2.
map函数类似于filter,与后者不同的是它不是删除部分元素,而是使用用户指定的原始值转换替换每个元素。
The map function is similar to filter , except that instead of removing some elements, it replaces every element with a user-specified transformation of its original value. The syntax is.
更新18试图替换“phone”元素的值而不是删除它们。
Update 18, attempts to replace the value of the phone elements instead of deleting them.
CompositeApplicationLibrary可以用来建造复合WPF应用程序,但它也可以通过扩展或替换核心元素进行定制以适应某些需要。
The composite application Library can be used as it is to build composite WPF applications, but it can be also customized to fit one's needs by extending or replacing core elements.
用创建的新元素替换旧的img元素。
Replace the old img element with the new one you just created.
用新的值替换UUID和IssueDate元素的值
Replace the values of the UUID and IssueDate elements with new ones
它们分别替换phone元素和 @type属性的值。
They replace the value of the phone element and the value of the @type attribute, respectively.
在这种情况下,因为step都是纯文本,所以迁移工具将替换DITA元素中的所有内容。
In this case, because the step is entirely plain text, the migration utility will place everything in DITA's element.
到了部署应用程序的时候,只需用Tapestry 的元素替换链接和组件即可。
When it comes time to deploy the app, you simply replace the links and components with Tapestry idioms.
替换群元素可以以任何顺序出现,因为它们处于一个带有 maxOccurs="unbounded" 的可重复选项组中。
The substitution group elements can appear in any order, because they are in a repeatable choice group with maxOccurs="unbounded".
通过使用复杂名称元素替换简单名称元素来更新测试文档。
Update the test document by replacing the simple name element with a complex name element.
替换的一种情况是排序,将元素替换为不同的元素,从而对其进行排序(内置的sort方法可用于此操作)。
One case of replacement is sorting, where elements are replaced with different elements so that the resulting array is in sorted order (the built-in sort method is provided for this action).
然后,该类的用户可以在Singleton实例保存的集合中添加和删除Attendee元素,或替换集合中的元素。
Users of the class can then add and remove Attendee elements from the collection the Singleton instance holds, or replace the elements in the collection.
更新8演示如何使用“replace”操作把现有的phone元素替换为一个新元素。
Update 8 illustrates how you can use the "replace" operation to replace the existing phone element with a new element.
更新8演示如何使用“replace”操作把现有的phone元素替换为一个新元素。
Update 8 illustrates how you can use the "replace" operation to replace the existing phone element with a new element.
应用推荐