
June 15th, 2001, 03:53 AM
|
|
Junior Member
|
|
Join Date: May 2001
Location: Germany
Posts: 8
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Whitespaces
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
<xsl  utput 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
|