1. 程式人生 > >XML卷之實戰錦囊(4):選單連動

XML卷之實戰錦囊(4):選單連動

<?xml version="1.0" encoding="gb2312"?>
<China>
  <State id="1" name="江西">
    <City>九江</City>
    <City>南昌</City>
    <City>廬山</City>
    <City>景德鎮</City>
  </State>
  <State id="2" name="北京">
    <City>北京西</City>
    <City>居庸關</City>
    <City>清華園</City>
    <City>周口店</City>
  </State>
  <State id="3" name="福建">
    <City>福州</City>
    <City>廈門</City>
    <City>漳州</City>
  </State>
  <State id="4" name="甘肅">
    <City>蘭州</City>
    <City>洛門</City>
    <City>嘉峪關</City>
  </State>
  <State id="5" name="廣東">
    <City>廣州</City>
    <City>深圳</City>
    <City>東莞</City>
    <City>石牌</City>
  </State>
  <State id="6" name="安徽">
    <City>合肥</City>
    <City>黃山</City>
    <City>九龍崗</City>
    <City>馬鞍山</City>
  </State>
</China>