… Or a seriously flexible and generic configuration engine that could manage every XSD schema, every mapping and every rule, so that all would be reconfigurable and the need for recompilations would be eliminated.
This was looking to be a seriously pain in code modifications and recompilations of the tool, with endless support needed to maintain a valid tool.
The was no telling when business development department decided to change rules, mappings or the schemas themselves.The mapping formats should be based on multiple fairly large XSD schemas.It should also be possible to map a source array of elements of any type (custom included), to any destination array of any type.Each field should be allowed a custom business rule to be applied when mapping to the destination, and these rules could be anything from doing some math, to look up a particular string depending on the nth element of any of the source XML arrays.The list of requirements looked was looking something like this: I needed to be able to map a source XML and all its fields to a destination xml format with different kind of fields.
Recently I had to write a tool, which would be able to map one XML format to another.