-2
如何將xml值分配給javascript變量。如何將xml值分配給javascript變量
data.xml中:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="webdata.xslt"?>
<information>
<personal_info>
<accountname>John Doe</accountname>
<accountnumber>987654321</accountnumber>
<mobileuser>Nathan 'Nath' Smith</mobileuser>
<mobileno>8755559876</mobileno>
</personal_info>
</information>
mobileno值要在JavaScript中使用