You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Hans-Michael Rupp <ha...@danet.de> on 2002/06/05 15:15:09 UTC

whitespace

Hi
We are trying to transform a jsp based application with a fairly
complicated html design into a XML/XSP/XSLT based application. One
problem we have is that the page design (which we cannot easily change)
is severely disrupted by extra whitespace added during the
transformation processes in Cocoon. E.g.
<div class="bla"><a href="bla"><img src="blubber" /></a></div> is
transformed
to
<div class="bla"><a href="bla"><img src="blubber" /></a>
</div>
which on some pages has catastrophic consequences for the layout.
We have already used
<xsl:strip-space elements="*" />
<xsl:output indent="no" />
in our stylesheets without any effect.
Is there any way to preserve the whitespace exactly the way we want it?

Many thanks,

Hans



--------------------------------------------
Dr. Hans M. Rupp
danet Internet Solutions GmbH
Waldburgstr. 17-19
70563 Stuttgart
Germany

Fon +49 711 133 53 50
Fax +49 711 133 53 53

------------------------------------------



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>