works and it outputs the text. I am trying to save the text so I can use it in my javascript. But i am a real newbie at this XML stuff, can somebody give me a hand?

Alex Vincent

05-19-2004, 11:40 PM

:o Well, your code is correct... and incomplete.

You see, you set the newCity and newCenterName variables. But you didn't do anything with them. Try, just as a quick test:

alert(newCity + "\n" + newCenterName);

Set this after your

newCenterName = center...

deadseasquirrel

05-20-2004, 04:30 AM

I am not around my main computer, and I'll definitely try what you said in the morning. Even so, if you are right, it will mean there is a fundamental misunderstanding that I have of DOMs and javascripts.