How to convert XML for one XSD to another XML format, which is very similar but has a different XSD file? XSD is quite large and has many complex types, but the actual XML looks very similar.
I have two XSD files and two XML files - they both successfully validate one of the XSD files. I would like to convert one of the XML files to another so that I can use only one class for further operations.
How to do this in .NET 4.0 and C # 4.0? Should I use XSLT or something else? If I need to use XSLT, how do I do this? I'm not sure I'm looking forward to creating an XSLT document.
It was just a nightmare using AutoMapper to convert one XML class to another. When I looked at XML, it was so similar, so I thought there might be an easier way ...
source share