尽管子项列表和属性列表的操作方式相似,但一个可以包含重复项(对象的子项),而一个不能(元素对象的属性)。
While the list of children and the list of attributes operate similarly, one can contain duplicates (the children of an object) and one cannot (the attributes of an element object).
例如,所有用于定义列表的元素和属性类型都位于一个模块中,而面向表示的元素类型将位于另一个模块中。
For example, all element and attribute types used for defining lists would be in one module, and element types geared toward presentation would be in another module.
您可以在相同的逗号分隔的列表中添加属性和主体。
You can add attributes and body in the same comma-delimited list.
应用推荐