mercredi 22 février 2017

Is there common approach to encapsulate xml data structure changes?

I'm working out a program module, that designed to get data as tree with strict structure. For storing it use a xml format.

But, just appeared situation when I need to do the same task with another data structure, that can be converted to previous one. And in future there is perspective that new data will have another structure too.

Is there any general solution for such a problem?

PS. For now, it's seemed to be good solution to make a module, that would get xslt stylesheet and xml and after that by use of xslt processor give me appretiate xml structured data.

Aucun commentaire:

Enregistrer un commentaire