I gave up trying to get the name of the xml, I am going to split up the xml data edit and the chart setup into 2 different dialogs.
I was going to add a div around the chart and try and get the parent element of the selected control (ie the div) and have the xml name as part of the div. But I couldn't be bothered.
As for the not showing in firefox, there is an embed in the html. I am no expert on adding swf's, is the embed wrong?
Justin