More than one element on a line?

Subject: More than one element on a line?
From: Edd Dumbill <edd@xxxxxxxxxxxxx>
Date: Wed, 25 Aug 1999 14:10:45 +0000
Apologies if this question appears monumentally clueluess, but it's
been bugging me for a while.

I'm using XT.

I would like to output HTML from my XSL stylesheet
which does the following:

<TD>Whatever foo foo foo</TD>

Instead I get

<TD>
  Whatever foo foo foo
</TD>

...as any new element starts a new line.  The reason I want to close
up the gap is that browsers interpret the newline as whitespace
and add an unwelcome few pixels to the end of the line.

At the moment I'm postprocessing with Perl to clean up the output
and remove preceding whitespace from </TD> tags.  Anybody got any
suggestions as to a cleaner method for doing this?

thanks

Edd.

-- 
Edd Dumbill ------/ a new media consultant, writer & technologist /--
 | Director, Useful Information Company        <http://usefulinc.com>
 | Internet Director, Pharmalicensing    <http://pharmalicensing.com>
 : UK voice/msg: +44 702-093-6870            UK fax: +44 870-164-0230
 . US voice/fax: 1-877-819-1072            whois: ED1346 icq: 2132896


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread