In a typical style sheet, most template rules match element nodes in the tree.
在典型的样式表中,大多数模板规则匹配树中的元素节点。
Automatically add behavior to each template element — that sounds like something a stylesheet could do!
自动将行为添加到每个模板元素—听上去象是样式表可以做的事!
This is done by adding the type attribute to the body element in the template file.
通过向模板文件的 body 元素中添加 type 属性可以实现这一点。
应用推荐