[thelist] xslt - removing whitespace

Andrew Martin comitque at hotmail.com
Wed Oct 13 17:45:18 CDT 2004


That did the trick.  Thanks!


----- Original Message ----- 
From: "Paul Bennett" <paul at web-business-pack.com>
To: <thelist at lists.evolt.org>
Sent: Wednesday, October 13, 2004 3:08 PM
Subject: Re: [thelist] xslt - removing whitespace


> ah, just tested, and that previous post fix DOES remove whitespace (man I 
> love being right, even by accident... :) ), but only from the dynamically 
> created xslt output, not from static parts of  your template
>
> Andrew Martin wrote:
>
>> I'm moving a database to XML and the one problem that I'm having is 
>> whitespace between HTML tags when rendered via XSLT; I have something 
>> like this:
>> xslt file:
>> </img></a>
>>
>> And the output adds a space between the end of the img tag and the a tag:
>> html output:
>> <img src="url">
>>          </a>
>>
>> Is there a way to have the output of the xml not contain whitespace?
>>
>> Thanks!
>
>
> -- 
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester and 
> archives of thelist go to: http://lists.evolt.org Workers of the Web, 
> evolt ! 


More information about the thelist mailing list