Subject: RE: More than one element on a line? From: "Earl Bingham" <earl@xxxxxxxxx> Date: Wed, 25 Aug 1999 09:34:22 -0700 |
This could be changes with the indent-result value. Many applications want as little extra characters as possible for performance. Then you can change this value when you want to be able to analyze your xml files. Also look at whitespace-stripping <xsl:elemnt xml:space > </xsl:element> an xsl:preserve-space xsl:strip-space <xsl:stylesheet indent-result="yes" xmlns:xsl='http://www.w3.org/XSL/Transform/1.0' > Earl Bingham B-Bop Associates Inc. 2 North First Street San Jose, CA 95113 Voice: (408) 993-2140 FAX: (408) 993-2141 XML SIG: http://www.sdforum.org/sigs/xml/index.html -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxx [SMTP:owner-xsl-list@xxxxxxxxxxxxxxxx] On Behalf Of Edd Dumbill Sent: Wednesday, August 25, 1999 7:11 AM To: xsl-list@xxxxxxxxxxxxxxxx Subject: More than one element on a line? 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: More than one element on a line, Maxime Levesque | Thread | RE: More than one element on a line, Mike Brown |
RE: More than one element on a line, Maxime Levesque | Date | RE: PowerPoint is dead. Long live X, Tim McCune |
Month |