Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH:
From: Deryl Dorsett
Date: Wed, 11 Oct 2000 16:42:06 +0100

Hi all, I was wonder if anyone had an example or could point me in the direction of xml help with F5. I've been able to read from a xml file but I'm having trouble with the appendChild method.
on (release)
{
newNode = "<dvd name=\"new name\">added node</dvd>"
objXML = new XML();
objXML.load("xml.xml");
objXML.onLoad = test;

function test ()
{
var e = this.firstChild.nextSibling.firstChild.nextSibling;
var b = e.nextSibling.nextSibling
var a = e.cloneNode(true);
//var z = objXML3.firstChild.nextSibling.insertBefore(a, 0);
var z = objXML.firstChild.nextSibling.appendChild(a);
//var z = objXML.firstChild.nextSibling.removeNode()
TestText = z + " " + newNode;
}
}



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH:, Xak

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]