Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Simple XML update?

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,47931
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Simple XML update?
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Simple XML update? - 6/5/2007 12:03:17 PM   
  TNO


Posts: 1064
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
I'm having what I hope is a simple problem:

Object Required: Line 14
 
save.asp

      


XML:

      

Any idea what the issue is? No doubt something simple I'm overlooking

< Message edited by TNO -- 6/5/2007 1:12:55 PM >


_____________________________

To iterate is human, to recurse divine. -- L. Peter Deutsch
 
 
Post #: 1
 
 RE: Simple XML update? - 6/5/2007 3:51:41 PM   
  dm_4ever


Posts: 2432
Score: 38
Joined: 6/29/2006
From: Orange County, California
Status: offline
What if you change "TO/Test" to "//TO/test"??

_____________________________

dm_4ever

My philosophy: K.I.S.S - Keep It Simple Stupid
Read Me: http://www.visualbasicscript.com/m_24727/tm.htm
Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to TNO)
 
 
Post #: 2
 
 RE: Simple XML update? - 6/5/2007 5:24:40 PM   
  TNO


Posts: 1064
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
hmm...still having the same issue, even when I rewrote it from scratch:

Object required line 13


      

_____________________________

To iterate is human, to recurse divine. -- L. Peter Deutsch

(in reply to dm_4ever)
 
 
Post #: 3
 
 RE: Simple XML update? - 6/6/2007 4:12:57 AM   
  ehvbs

 

Posts: 2078
Score: 50
Joined: 6/22/2005
From: Germany
Status: offline
Hi TNO,

given an accessible/valid xml file, this:


      

works for me. So I think there is something fishy with your file (server path mapping, permissions,
or even the xml).

Good luck!

ehvbs

P.S. I checked using "objField.Text" instead of "objField.firstChild.Text" - no problem either.

< Message edited by ehvbs -- 6/6/2007 4:18:16 AM >

(in reply to TNO)
 
 
Post #: 4
 
 RE: Simple XML update? - 6/6/2007 4:42:12 AM   
  TNO


Posts: 1064
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
Thanks for the help. It was actually a combination of two things:

Permissions

xmlDoc.load("TO.xml") --> xmlDoc.load(Server.MapPath("TO.xml"))

_____________________________

To iterate is human, to recurse divine. -- L. Peter Deutsch

(in reply to ehvbs)
 
 
Post #: 5
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Simple XML update? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts