|
-
Dec 25th, 2002, 10:15 PM
#1
Thread Starter
Hyperactive Member
How to Add new data in XML with ASP (VBScript)?
If my XML file is
<?xml version="1.0" encoding="windows-874"?>
<address_data>
<addressl_detail>
<own_name>a</own_name>
<own_phone>12345678</own_phone>
</addressl_detail>
<addressl_detail>
<own_name>b</own_name>
<own_phone>99999999</own_phone>
</addressl_detail>
<addressl_detail>
<own_name>c</own_name>
<own_phone>88888888</own_phone>
</addressl_detail>
</address_data>
Can I use ASP to add new Data that Name = d , Phone = 87654321 to make my XML file like This ...
<?xml version="1.0" encoding="windows-874"?>
<address_data>
<addressl_detail>
<own_name>a</own_name>
<own_phone>12345678</own_phone>
</addressl_detail>
<addressl_detail>
<own_name>b</own_name>
<own_phone>99999999</own_phone>
</addressl_detail>
<addressl_detail>
<own_name>c</own_name>
<own_phone>88888888</own_phone>
</addressl_detail>
<addressl_detail>
<own_name>d</own_name>
<own_phone>87654321</own_phone>
</addressl_detail>
</address_data>
Please Give me some giude or Example Code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|