Subject:XML/XSL Basic Research Question Author:thurman hill Date:17 Feb 2006 10:39 AM
Please forgive the simplicity and length of this post, but I have virtually no knowledge of XML, and I want to be certain that I ask the right question! I work at an engineering simulation facility. A typical engineering session consists of a customer written simulation and a lab supplied visualization. The simulation and the visual system trade information over a shared memory bus. My C++ application provides a transformation and synchronization interface between the visual and the sim. I currently use a C structure to organize data transfers and rely on the customer to have an identical structure in his code. This works well as long as no customers require a structure change. If one does, then all customers are required to recompile their code to reflect the new structure. Currently I incorporate several structures into the interface app, and choose which one to use at initialization using an init block passed to the interface app via shared memory. This works as long as I choose the correct customer structure, but it still requires that I write new code and redeploy the interface each time a change is needed, which can be as often as every day during busy times. It can be a configuration nightmare at times. Have I mentioned that the customer platforms may be PC Windows, PC Linux, or SGI UNIX? I have been doing some basic research into using XML to pass structure data to the visual and simulation applications at initialization. I canít build a structure in C++ at runtime, but I think I can allocate a memory block and then use XML structures to populate the block and to pass data into and out of it. Does this sound feasible? And of equal importance, is this intelligent use of XML?