如何将XML文件转成表格形式
下面是一个XML文件
- <Order>
<CustomerID>001</CustomerID>
<PreferShopMethod>2</PreferShopMethod>
<ReponseEmail>aaa@sohu.com</ReponseEmail>
- <ShopAddress>
<Name>AAAAAAAAAAAAAA</Name>
<Address>aaaaaaaaaaaa</Address>
<City>nj</City>
<Region>js</Region>
<PostalCode>210000</PostalCode>
<Country>chn</Country>
</ShopAddress>
- <Details>
- <Detail>
<ProductID>1</ProductID>
<Quantity>100</Quantity>
</Detail>
- <Detail>
<ProductID>3</ProductID>
<Quantity>100</Quantity>
</Detail>
- <Detail>
<ProductID>4</ProductID>
<Quantity>100</Quantity>
</Detail>
</Details>
</Order>
怎么样将该文件转化成表格形式