我有一个这样的 xml 文件
<ward> <pods>
<name>Pod A</name>
<direction>North</direction>
<beds>
<id>a1</id>
<id>a2</id>
<id>a3</id>
<id>a4</id>
<id>a5</id>
</beds> </pods> <pods>
<name>Pod B</name>
<direction>North</direction>
<beds>
<id>b1</id>
<id>b2</id>
<id>b3</id>
<id>b4</id>
<id>b5</id>
</beds> </pods> </ward>
我正在尝试将名称作为列标题,将病床-> id 作为他们的孩子,我根本不知道这样做,有什么帮助吗?