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

RE: First node processed repeatedly

Subject: RE: First node processed repeatedly
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Fri, 7 Mar 2003 14:03:11 -0500
RE:  First node processed repeatedly
[Imrran Wahid]
> 
> I have another problem. If a named element exists in a
> row but not in another, an empty <td> entry is made in
> the row where it's absent. And the cell border does
> not get drawn. This also happens if the element is an
> empty element eg <element/>. How do I detect this and
> allow a non breaking space to be inserted instead? I
> am hoping that would fix the problem. If anyone has
> any ideas I would be grateful.
> 

What you see depends on the browser.  IE draws cell borders, IIRC, even
if they are empty but NS/Mozilla does not.  You can put in a nonbreaking
space with the character reference &#160;, which gives the code-point
for a non-breaking space.

You can use an xsl:if test to see if the cell is going to be empty, but
I sometimes just put in an &# 160; without bothering to test.

Cheers,

Tom P

 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.