Hi Ralph,
You can use the tree object in Origin C to load in any XML file, with code such as:
Tree trLoad;
trLoad.Load("C:\\Temp\\test.xml");
tree_dump(trLoad, "\nContents of my tree:");
The third line above just dumps the entire tree to script window. You could place a break point at this line and then look at the tree in debug view in Code Builder.
Then as long as you know what information is in which branch, you can get the values out of the tree. More information on accessing tree elements can be found in the help file:
Programming Help-> Programming Guide -> Trees and XML.
If possible, please do send some sample XML data files to us so that we can investigate as to how to get the data into Origin in an easier way in future versions.
Easwar
OriginLab
Edited by - easwar on 08/10/2005 12:16:15 PM