【发布时间】:2010-10-01 17:33:30
【问题描述】:
在XML中,列表应该如何表示?
带有封闭列表实体:
<person>
<firstname>Joe</firstname>
<lastname>Bloggs</lastname>
<children>
<child .../>
<child .../>
<child .../>
<child .../>
<child .../>
</children>
</person>
或者没有:
<person>
<firstname>Joe</firstname>
<lastname>Bloggs</lastname>
<child .../>
<child .../>
<child .../>
<child .../>
<child .../>
</person>
【问题讨论】: