Thanks for posting your example here. But the source code doesn't work. Looks like the following line:
transformer.transform(xsl, result);
needs to be
transformer.transform(source, result);
Thanks
In order to make your code work, you should change the following line:
transformer.transform(xsl, result);
for this one:
transformer.transform(source, result);
CorrectionTim February 2, 2013 at 12:33 AM
About 5 years late... but the final line should read: transformer.transform(source, result); and not: transformer.transform(xsl, result);
typo in examplehowie March 6, 2013 at 12:06 AM
transformer.transform(xsl, result); xsl should be replaced by source
This is wrongVINOD March 15, 2013 at 11:02 AM
Where we are applying source here? instead of transformer.transform(xsl, result); it should be transformer.transform(source, result);
your code examplejay July 25, 2012 at 1:08 AM
Thanks for posting your example here. But the source code doesn't work. Looks like the following line: transformer.transform(xsl, result); needs to be transformer.transform(source, result); Thanks
Small mistakeendrebak August 1, 2012 at 11:54 AM
Line "transformer.transform(xsl, result);" should be "transformer.transform(source, result);" Otherwise great, thanks.
wrong exampleantonio castellón January 8, 2013 at 5:33 PM
you need to change: transformer.transform(xsl, result); by transformer.transform(source, result); Best regards, TOni
typoCloud Falls September 13, 2012 at 2:52 AM
Should be transformer.transform(source, result);
Your code is mistakenchapacan October 26, 2012 at 2:46 PM
In order to make your code work, you should change the following line: transformer.transform(xsl, result); for this one: transformer.transform(source, result);
The transformer.transform(..) is incorrect.ghhutch November 22, 2012 at 9:19 PM
transformer.transform(xsl, result); should be transformer.transform(source, result);
ERROReugene April 7, 2013 at 8:42 AM
There is an principal error in last line: transformer.transform(xsl, result); There instead should be : transformer.transform(source, result);
Post your Comment