I have a function that transforms XML according to a XSLT. To test it, I'm using it in a jsp but it's entering a lot of breaks before my output. It seems to be the breaks I enter when setting variables:
<c:set var="blah" value="blah" />
<c:set var="blah2" value="blah2" />
That will show two line breaks before the output. Is there a way to avoid this with XML? I tried adding trimDirectiveWhitespaces="true" but it didn't help.