[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Hello everybody!
I am using JAXP to execute templates.In the method transformer.transform , the
second parameter is one StreamResult. I can obtain the result in a File like
this:
File output = new File ("C:/Users/Izaskun/Desktop/workspace5/modelo/mayo.txt");
transformer.transform(new StreamSource(sourceId), new StreamResult(output));
I need to obtain the result in a var String because the result is only one line
and I dont know how to do it, because I tried a lot of forms but I dont obtain
this.
Could anybody help me?
Regards,
Izaskun
[xsl] method transform (JAXP)
Subject: [xsl] method transform (JAXP) From: IZASKUN GUTIERREZ GUTIERREZ <igutierrez027@xxxxxxxxxxxxx> Date: Thu, 8 May 2008 10:49:24 +0200 |
Hello everybody!
I am using JAXP to execute templates.In the method transformer.transform , the
second parameter is one StreamResult. I can obtain the result in a File like
this:
File output = new File ("C:/Users/Izaskun/Desktop/workspace5/modelo/mayo.txt");
transformer.transform(new StreamSource(sourceId), new StreamResult(output));
I need to obtain the result in a var String because the result is only one line
and I dont know how to do it, because I tried a lot of forms but I dont obtain
this.
Could anybody help me?
Regards,
Izaskun
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Adding Multiple namespace, Michael Kay | Thread | Re: [xsl] method transform (JAXP), Mukul Gandhi |
Re: [xsl] [OT] output to iso-8859-1, Florent Georges | Date | Re: [xsl] [OT] output to iso-8859-1, Colin Adams |
Month |