Re: [xslt] LibXSLT adding annoying whitespace
- From: Liam Quin <liam holoweb net>
- To: xslt gnome org
- Subject: Re: [xslt] LibXSLT adding annoying whitespace
- Date: Tue, 12 Jun 2001 19:20:18 -0400
On Tue, Jun 12, 2001 at 03:54:40PM -0700, Michael Nachbaur wrote:
> This extra whitespace (the \n's) are causing the HTML to render incorrectly
You could try using
<xsl:strip-space elements="table tr td"/>
but that's not always what you want.
I'd say check your templates to see if they have spaces in them --
make sure all text is inside <xsl:text> ... </xsl:text> as otherwise
whitespace becomes significant.
I haven't had this problem, although I haven't tried processing HTML.
Lee
--
Liam Quin - Barefoot in Toronto - liam@holoweb.net - http://www.holoweb.net/
Ankh: irc.sorcery.net www.valinor.sorcery.net irc.gnome.org www.advogato.org
Author, Open Source XML Database Toolkit, Wiley August 2000
Co-author: The XML Specification Guide, Wiley 1999; Mastering XML, Sybex 2001
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]