Flasher Archive

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


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

Hi all, I was wonder if anyone could help or point me in the direction of XML and F5.(the reference guide is no help) I've been able to read from a xml file but I'm having trouble using the .appendChild method.
ex.
on (release)
{
newNode = "<dvd name=\"new name\">added node</dvd>"
objXML = new XML();
objXML3 = new XML();
objXML.load("xml2.xml");
objXML3.load("xml3.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


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