|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: open and closed tag merged into one using HTML out
J.Pietschmann wrote:
David Smith wrote: Well, it is an output stream from a servlet. The actual object is a PrintWriter. String xslFile = "test.xsl"; PrintWriter out = response.getWriter(); StringReader sr = new StringReader(xml); //instantiate
TransformerFactory tf = TransformerFactory.newInstance();
//process style sheet
try {
Transformer t = tf.newTransformer(new StreamSource(xslFile));
t.transform(new StreamSource(sr), new StreamResult(out));
}Any suggestions. I don't think I have done much wrong... Dave Smith XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








