[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: More than one element on a line?

Subject: RE: More than one element on a line?
From: "Maxime Levesque" <maximel@xxxxxxxxxxxxxx>
Date: Wed, 25 Aug 1999 09:29:27 -0700
line levesque

 Look at the com.jclark.xsl.sax.HTMLOutputHandler class

 It's this class that format's the html output,
you can probably get what you want by subclassing it
and doing : XSLProcessorImpl.setOutputHandler(yourSubclassInstance).


 There might be a way to do it from XSLT but I wouldn't know it ...


> 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


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.