例如,程序员可以添加新节点、删除节点、更新元素或属性的值,以及进行其他类型的更新。
For example, programmers can add new nodes, delete nodes, update the values of elements or attributes, and make other types of updates.
对比起来,使用XML标记的一个明显优点就是它们能为属性使用默认值,然而编程语言只提供了有限的可能性来删除方法参数。
When compared, a noted advantage of using XML tags is their ability to use default values for attributes, while programming languages offer limited possibilities to omit a method parameter.
如果您愿意,可以通过更改 action 属性的值并删除添加在网页编码文件中但没使用的两个操作,将这三个都指向同一个操作。
If you wish, you can point all three to the same action by changing the action attribute's value and deleting the two unused actions that were added to the pagecode file.
应用推荐