0
這是XML實例的樣品部分遍歷XML使用jQuery
<PivotSet>
<item>
<column name = "M">1</column>
<column name = "F">1640</column>
</item>
<item>
<column name = "M">2</column>
<column name = "F">5960</column>
</item>
</PivotSet>
<PivotSet>
<item>
<column name = "M">1</column>
<column name = "F">1700</column>
</item>
<item>
<column name = "M">2</column>
<column name = "F">7000</column>
</item>
</PivotSet>
應該爲下面
1
1640 1700
2
5960 7000
你能幫助我,告訴我如何使用要做到這一點jQuery,請
很好的解決方案隊友:)但如果XML包含其他值比1和2?如果我不知道節點值? – sameer 2012-03-07 11:30:57