|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: More than one element on a line?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








