Simple setRGB via XML?

I have ran across many complex solutions but I’m looking for something more simple. Here is what I have so far, but it is not working.

[AS]var colorful = new Color("_root.box");

xmlNav = new XML();
xmlNav.ignoreWhite = true;
xmlNav.onLoad = loadXML;
xmlNav.load(“xml_color.xml”);

function loadXML(loaded) {
if (loaded) {
colorful.setRGB = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
}
}[/AS]
Here is the XML:
[AS]<?xml version=“1.0”?>
<colorsets>

&lt;set1&gt;
	&lt;entry1&gt;0x003366&lt;/entry1&gt;
&lt;/set1&gt;

</colorsets>[/AS]

What am I missing?