on 12-19-2006 7:52 AM
Hi,
I am using XSLT-transformation on WAS 7.0. Part of the result of my XSLT-transformations is javascript-sourcecode.
The statement
<xsl:output omit-xml-declaration="yes" indent="no" method="html" encoding="utf-8" />
should generate browser-readable html-code.
So take the line
xxxxx<br/>yyyyy
After the transformation I am expecting the result
xxxxx<br>yyyyy
wheras the XSLT-transformation engine returns
xxxxx<br>
<br>
yyyyy<br>
(LINEBREAKS ARE INSERTED FOR EACH LINE!!!)
As my result is javascript-source, this behaviour is a huge problem, as - due to the linefeeds - my generated javascipt-code is not executable anymore.
Does anybody know a solution, how I can tell the XSLT-processor to generate code WITHOUT linefeeds?
Thanks,
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.