The closest you an get is variable data and loading XML but no direct access from the DOM
Thanks guys, for the quick response but what a bummer. I have to some excel->csv data into some ai document datasets, which seems to be a pretty common task these days, and it was looking like I could do it all in js until the graphItem . Ill add a feature request for graphItem.data = "Better luck next time". So Ill go with Mark's idea in C# but I was hoping to avoid:
XNamespace v = "http://ns.adobe.com/Variables/1.0/";
XDocument xDoc = XDocument.Load("C\Temp\WhereIsMyFile.xml");
XElement sets = doc.Descendants(v + "sampleDataSets").FirstOrDefault<XElement>();
//create immensly xml document tree here...