Originally posted by Anoopp Thakur:
Can you give me some pointers for good XSLT tutorial or book where I can start reading from.
Also there are two different XML source files that needs to be converted to a single target XML.
There is already an existing code that converts the source XML file to Java objects using Castor, hence I thought of using Adaptor to convert it into objects of the target type and then marshal them to target XML.
Originally posted by Buvana Ramkumar:
Instead of that use the Strategy Pattern.
Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.