xsl-list
[Top] [All Lists]

RE: Unwanted added spaces in output code

2004-09-29 03:44:04
You need to find out where the unwanted whitespace is coming from. It's
usually either

(a) generated by the stylesheet code
(b) copied from the source document
(c) produced as a result of serializer indentation

From your information, there's no way of knowing which is the case.

Michael Kay
http://www.saxonica.com/ 

-----Original Message-----
From: Aaron Johnson [mailto:Aaron2(_dot_)Johnson(_at_)uwe(_dot_)ac(_dot_)uk] 
Sent: 29 September 2004 10:28
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Unwanted added spaces in output code

Hello...

I have a template to control a footer element in my page. 
When processed, a
space is being added between the end of my image code and the 
closing table
data tag, which is effectively adding a break. This is 
causing my 1 pixel
graphic to expand to an ugly thick band.

<tr>
      <td bgcolor="#bdced6"><img alt="" height="1"
width="1"src="/includes/assets/2004Design/spacer.gif" /> </td>
</tr>

Any ideas how to stop this happening?

Thanks

AJ

......................................................................

Aaron Johnson
GUI / XSLT development
Academic Technologies Group [ATG]
University of the West of England

ext: 81051
t: 0117 3281051 
www: http://atg.uwe.ac.uk/aaron
e: aaron2(_dot_)johnson(_at_)uwe(_dot_)ac(_dot_)uk
......................................................................

......................................................................

SECURITY POLICY:

Please note that ATG will only accept
e-mail attachments in the following
formats:

.doc,.gif,.jpg,.mdb,.png,.xls,.zip,.psd

...as a mac user I will accept files
compressed using Dropstuff.
......................................................................

This communication is intended solely
for the use of the individual(s) to whom
it is addressed. Any opinions presented
are those of the author and do not
necessarily represent the University of
the West of England, Bristol.
......................................................................




This email has been independently scanned for viruses and any 
virus detected has been removed using McAfee anti-virus software


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--





<Prev in Thread] Current Thread [Next in Thread>