我有一个XML文件中的数据,我需要以某种方式提取并显示,以便我可以运行一些测试。格式化XML数据进行测试
XML中的数据是这个样子
<is:Person>
<is:PersonId/>
<is:NationalIdentificationNumber/>
<is:Name>
<dg:Title/>
我需要的是它显示了这样
is:Person/is:PersonID
is:Person/is:NationalIdentificationNumber
is:Person/is:Name/
is:Person/is:Name/dg:Title
...
如何做任何想法这个?
我不知道该怎么尝试 – user3285439