Creating HTML from XML v/s JAVA object.



I am trying to create HTML file from the result of an execution. The result is in the from of XML. There are few transformers that I can use to transform XML to HTML using XSLT file.


Other thing I will also have is the JAVA object of result which I can use for converting it to HTML.


Which of the above two approach is better and is there any API that I can use to convert java object to HTML other than XSLT or FILE I/O.


No comments:

Post a Comment