快郁闷死我了,高分求救,解决了马上解贴,分不够再贴。

Delphkk 2004-03-19 03:10:13
- <NewDataSet>
- <Table>
<bus_unit_code>DCH</bus_unit_code>
<client_code>44</client_code>
<client_name>44</client_name>
<location>444</location>
<agency_comission_pct>4</agency_comission_pct>
<ac_counterparty />
<ac_sale_loc />
<ac_payment_term />
<active_ind>Y</active_ind>
<last_update_date>2004-02-19T16:12:00.1930000+08:00</last_update_date>
<last_updated_by>TPMS</last_updated_by>
<created_date>2004-02-19T16:12:00.1930000+08:00</created_date>
<created_by>TPMS</created_by>
</Table>
- <Table>
<bus_unit_code>DCH</bus_unit_code>
<client_code>a</client_code>
<client_name>a</client_name>
<location>a</location>
<agency_comission_pct>1</agency_comission_pct>
<ac_counterparty>a</ac_counterparty>
<ac_sale_loc>a</ac_sale_loc>
<ac_payment_term>a</ac_payment_term>
<active_ind>Y</active_ind>
<last_update_date>2004-02-18T17:47:53.8200000+08:00</last_update_date>
<last_updated_by>tpms</last_updated_by>
<created_date>2004-02-18T17:47:53.8200000+08:00</created_date>
<created_by>tpms</created_by>
</Table>
- <Table>
<bus_unit_code>DCH</bus_unit_code>
<client_code>asasd</client_code>
<client_name>sdf</client_name>
<location>sdf</location>
<agency_comission_pct>12</agency_comission_pct>
<ac_counterparty />
<ac_sale_loc />
<ac_payment_term />
<active_ind>Y</active_ind>
<last_update_date>2004-02-18T11:05:51.9570000+08:00</last_update_date>
<last_updated_by>tpms</last_updated_by>
<created_date>2004-02-18T11:05:51.9570000+08:00</created_date>
<created_by>tpms</created_by>
</Table>
- <Table>
<bus_unit_code>DCH</bus_unit_code>
<client_code>asass</client_code>
<client_name>sdf</client_name>
<location>sdf</location>
<agency_comission_pct>13</agency_comission_pct>
<ac_counterparty />
<ac_sale_loc />
<ac_payment_term />
<active_ind>Y</active_ind>
<last_update_date>2004-02-20T14:42:35.1700000+08:00</last_update_date>
<last_updated_by>tpms</last_updated_by>
<created_date>2004-02-18T10:57:11.6170000+08:00</created_date>
<created_by>tpms</created_by>
</Table>
- <Table>
<bus_unit_code>DCH</bus_unit_code>
<client_code>b</client_code>
<client_name>b</client_name>
<location>sdfsdf</location>
<agency_comission_pct>2</agency_comission_pct>
<ac_counterparty>b</ac_counterparty>
<ac_sale_loc>b</ac_sale_loc>
<ac_payment_term>b</ac_payment_term>
<active_ind>Y</active_ind>
<last_update_date>2004-02-19T21:49:46.1130000+08:00</last_update_date>
<last_updated_by>tpms</last_updated_by>
<created_date>2004-02-18T17:48:08.5200000+08:00</created_date>
<created_by>tpms</created_by>
</Table>
- <Table>
<bus_unit_code>DCH</bus_unit_code>
<client_code>CLIENT1</client_code>
<client_name>CLIENT1_NAME</client_name>
<location>location  locat</location>
<agency_comission_pct>80.5</agency_comission_pct>
<ac_counterparty>FGH</ac_counterparty>
<ac_sale_loc>FG</ac_sale_loc>
<ac_payment_term>FGHFGHGFHGFH</ac_payment_term>
<active_ind>Y</active_ind>
<last_update_date>2004-02-27T19:55:01.5930000+08:00</last_update_date>
<last_updated_by>tpms</last_updated_by>
<created_date>2004-02-11T17:33:50.3730000+08:00</created_date>
<created_by>TPMS</created_by>
</Table>
- <Table>
<bus_unit_code>DCH</bus_unit_code>
<client_code>CLIENT1-10</client_code>
<client_name>CLIENT1-10_NAME</client_name>
<location>HongKong</location>
<agency_comission_pct>80.5</agency_comission_pct>
<ac_counterparty>333</ac_counterparty>
<ac_sale_loc>AS</ac_sale_loc>
<ac_payment_term>ACP_TERM</ac_payment_term>
<active_ind>Y</active_ind>
<last_update_date>2004-02-18T10:52:52.3330000+08:00</last_update_date>
<last_updated_by>TPMS</last_updated_by>
<created_date>2004-02-11T17:33:50.3930000+08:00</created_date>
<created_by>TPMS</created_by>
</Table>
- <Table>
<bus_unit_code>DCH</bus_unit_code>
<client_code>CLIENT1-12</client_code>
<client_name>CLIENT1-12_NAME</client_name>
<location>HongKong</location>
<agency_comission_pct>80.5</agency_comission_pct>
<ac_counterparty>ACC</ac_counterparty>
<ac_sale_loc>AS</ac_sale_loc>
<ac_payment_term>ACP_TERM</ac_payment_term>
<active_ind>Y</active_ind>
<last_update_date>2004-02-11T17:33:50.3930000+08:00</last_update_date>
<last_updated_by>TPMS</last_updated_by>
<created_date>2004-02-11T17:33:50.3930000+08:00</created_date>
<created_by>TPMS</created_by>
</Table>
- <Table>
<bus_unit_code>DCH</bus_unit_code>
<client_code>CLIENT1-13</client_code>
<client_name>CLIENT1-13_NAME</client_name>
<location>HongKong</location>
<agency_comission_pct>80.5</agency_comission_pct>
<ac_counterparty>ACC</ac_counterparty>
<ac_sale_loc>AS</ac_sale_loc>
<ac_payment_term>ACP_TERM</ac_payment_term>
<active_ind>Y</active_ind>
<last_update_date>2004-02-11T17:33:50.3930000+08:00</last_update_date>
<last_updated_by>TPMS</last_updated_by>
<created_date>2004-02-11T17:33:50.3930000+08:00</created_date>
<created_by>TPMS</created_by>
</Table>
</NewDataSet>
像以上这个XML文档,现在只知道bus_unit_code和client_code的值,如何通过这两个值来获得对应的其它节点的值,显示在文本框中。用javascript实现。
...全文
37 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
singleflower 2004-03-19
  • 打赏
  • 举报
回复
<Table>元素最好是加个属性,如ID=0001,这样才会好办一点啊
crane2002 2004-03-19
  • 打赏
  • 举报
回复
帮顶
guojiwei 2004-03-19
  • 打赏
  • 举报
回复
up
123456754321 2004-03-19
  • 打赏
  • 举报
回复
使用JavaScript访问XML数据

http://www.blueidea.com/tech/web/2003/1415.asp
Jon1283 2004-03-19
  • 打赏
  • 举报
回复
只有这样了。
520NET 2004-03-19
  • 打赏
  • 举报
回复
还是UP吧!
xdt2003 2004-03-19
  • 打赏
  • 举报
回复
还是up
smx717616 2004-03-19
  • 打赏
  • 举报
回复
up
WZCNet 2004-03-19
  • 打赏
  • 举报
回复
up

62,253

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧