I use the xalan processor to generate html-files from an xslt and an xml file. Its possible to tell the processor to format the code whith instructions like

<xsl:strip-space elements="*"/> and
<xslutput method="html" indent="yes"/>.

But the problem is not the whitespaces between the xml tags like:

<foo>_____________
_____<bar>text</bar>__________
</foo>

The problem is the whitespaces in the tags. For example :

<foo>
______text__________
</foo>

Thats why my generated html code looks not nice.
Is it possible to remove the whitespaces left and right from text beween the enclosing xml-tags ???

Greetings, d0n