XML转化为EXECL
我用PHP生成的XML文件 想转化为execl表格表示
比如说 我的xml为
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> <subject> Basic Information <question> What is your age? <answer>8-12</answer> <count>2</count> <ratio>0.01%</ratio> <answer>13-19</answer> <count>43</count> <ratio>0.31%</ratio> <answer>20-34</answer> <count>65</count> <ratio>0.47%</ratio> <answer>35-49</answer> <count>24</count> <ratio>0.18%</ratio> <answer>50+</answer> <count>3</count> <ratio>0.02%</ratio> </question><question> What is your gender? <answer>Male</answer> <count>119</count> <ratio>0.87%</ratio> <answer>Female</answer> <count>18</count> <ratio>0.13%</ratio> </question></subject>