Go Back   CodingForums.com > :: Client side development > XML

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-13-2002, 08:19 PM   PM User | #1
ClueLess
Regular Coder

 
Join Date: Nov 2002
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
ClueLess is an unknown quantity at this point
Submit new info by using XML

I am so new to XML. This is my very 1st project using XLM to get information from DB and Submit new information back to DB…I need your help.

Well, I am using XML method to retrieve information from DB.

'Get Information from DB:
Set mainNode = root.selectSingleNode("ID[@ID = '" & ID & "']")
<% 'Get Information of given ID
If mainNode.hasChildNodes = true Then
Set ChildNode = mainNode.selectSingleNode("Property") %>

<form action="InfoEdit.asp" method="post" name="SubmitForm" onsubmit="GiveDate()">
<table>
<tr>

<td width="180">Name:&nbsp;</td>
<td align="left">
<% dim Name
Name = ChildNode.attributes.getNamedItem("Name").nodeValue %>
<INPUT type="text" id="Name" name="Name" value="<%= (Name) %>">
</td>
</tr>
<tr>
<input type="submit" value="Update">
</tr>
</table>
</form>
<% end if%>

The question is: after I make a change....How can I submit new information back to DB from childnode to parentnode?
ClueLess is offline   Reply With Quote
Old 11-14-2002, 04:25 AM   PM User | #2
Alex Vincent
Moderator


 
Join Date: May 2002
Location: Hayward, CA
Posts: 1,427
Thanks: 1
Thanked 19 Times in 17 Posts
Alex Vincent is on a distinguished road
Two W3C proposals I recommend you look into: SOAP and XForms. XForms just became a Candidate Recommendation.
__________________
"The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
June 30, 2001
author, Verbosio prototype XML Editor
author, JavaScript Developer's Dictionary
https://alexvincent.us/blog
Alex Vincent is offline   Reply With Quote
Old 11-23-2002, 07:08 PM   PM User | #3
whammy
Senior Coder

 
Join Date: Jun 2002
Location: 41° 8' 52" N -95° 53' 31" W
Posts: 3,660
Thanks: 0
Thanked 0 Times in 0 Posts
whammy is an unknown quantity at this point
Hopefully I will be helping out in this forum soon.
__________________
Former ASP Forum Moderator - I'm back!

If you can teach yourself how to learn, you can learn anything. ;)
whammy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:33 AM.


Advertisement
Log in to turn off these ads.