0
我有以下XML,'gXML'從頁面傳遞到另一個頁面發送電子郵件。在XML中選擇行
<root>
<Lease>
<Row resmid="10435" EmailAdd="[email protected]" FirstName="Alex" LastName="Choobineh" leaid="6960" reshid="4203" OptInBit="1"/>
<Row resmid="10434" EmailAdd="[email protected]" FirstName="Dan" LastName="Morseman" leaid="6960" reshid="4203" OptInBit="1"/>
<Row resmid="10440" EmailAdd="[email protected]" FirstName="Belinda" LastName="Becerril" leaid="6968" reshid="4205" OptInBit="1"/>
<Row resmid="10456" EmailAdd="[email protected]" FirstName="Danaedz" LastName="dupe" leaid="6968" reshid="4205" OptInBit="1"/>
</Lease>
</root>
我希望能夠發送電子郵件到每一行。我想它是這樣的,
for (each row){
blah blah blah (send email function)
}
我只是不知道如何選擇XML中的行。你怎麼做呢?
language is javascript。