shankar

shankar

  • NA
  • 1
  • 0

XSLT Transformation

May 1 2006 9:51 PM
Hi All,

In my application I have a set of source objects and a set of destination objects and the aim is to map variables in the source objects to that in the destination objects based on simple rules. We initially had mapper functions which would perform the mapping operation from source to destination through c# coding. One of our fellow developers suggests that using XSLT transformation to do the same would ease maintenability and avoid compilation if any change needs to be made to the transformation. The suggested steps are:

i. serialize source object to Xml doc
ii. use XSL Transformation to create Xml in destination object format
iii. deserialized destination xml to destination object

I would like to know whether this would lead to performance degradation, considering the fact that we have serialization, deserialization, XSL transformation and XSL reading from disk involved.

Any pointers would be highly appreciated.

Thanks,
Shankar.