XStream – XML Transformation

XStream provides a TraxSource (extends SAXSource) that can be used as an input to XSLT transformation. The TraxSource uses a java Object and the corresponding XStream Object. The java object can then be directly converted to XSLT target without actually converting to XML. Lets look at an example

The XML.

The Rss2 and other classes

Leave a Reply

Your email address will not be published. Required fields are marked *