Add a new element 添加一个新元素
However, you can see that if you add a new element that represents a balance, you'll need to change the template.
然而,可以看到,如果添加一个表示余额的新元素,那么就需要更改这个模板。
What makes this example extensible is that the schema developer only has to add a new element declaration indicating that it is a member of the substitution group.
这个示例的扩展点是模式开发人员必须添加一个新的元素声明来表明它是替换群的一个成员。
When used through the "contribution" pattern, an element can add new content to a base element without directly modifying any of the existing properties.
当在“贡献”模型中被使用的时候,一个元素能够将新的内容添加到一个基本元素之中,而无需直接修改现任何一个已存在的性质。
应用推荐