In the previous section, you learned that only the delete operation can be applied to a sequence of nodes, such as repeating elements.
在前一节中指出,在节点序列(比如重复元素)上只能应用删除操作。
The instance view lets you create a new instance, add and delete elements and attributes, change element and attribute names, move element and attribute nodes, rename them, and assign values to them.
Instance视图允许创建新实例,增加和删除元素或属性,改变元素和属性名,删除元素和属性节点,重命名和为其赋值。
Listing 10 shows one approach, which is to bind the "Delete" trigger to a node in the data model, and then to make that node non-relevant when the count of nodes in the set reaches 1.
清单10给出了一种方法,那就是将“删除”触发器绑定到数据模型中的节点上,然后在节点集中的节点数达到1时使该节点变为不相关。
应用推荐