|
Subject: [xsl] How to write a stream-oriented XSLT filter? From: John English <john.foreign@xxxxxxxxx> Date: Tue, 26 Mar 2013 16:41:30 +0200 |
CharResponseWrapper wrapper =
new CharResponseWrapper((HttpServletResponse)response);
chain.doFilter(request,wrapper);
s = wrapper.toString();
if (s.length() > 0) {
Transformer transformer = xslt.newTransformer();
Source transformSource = new StreamSource(new StringReader(s));
StreamResult result = new StreamResult(response.getWriter());
transformer.transform(transformSource, result);
}TIA, -- John English
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] [Announce] Looming course can, G. Ken Holman | Thread | Re: [xsl] How to write a stream-ori, Michael Kay |
| Re: [xsl] What is the best solution, Eric J. Bowman | Date | Re: [xsl] How to write a stream-ori, Michael Kay |
| Month |