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 package com.studytrails.xml.xstream; import java.util.ArrayList; import javax.xml.transform.Transformer; import … Read more