By now, forum members probably know that I am trying to convert Java beans to XML file. I have spent some time to read about basics.
Please correct me if I am wrong - JAXB “forces” the Java class to use the exact element names defined in the target XML file. However, the element names in target XML file may not be exactly the same as those defined in the data model. XSLT can do element to element mapping. Therefore, I would like to explore a little more about XSLT.
I have surfed on the internet. I have difficult time find code examples of converting Java Beans to XML files using the XSLT processor. Do anybody know any code examples?