This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: XSL and White Space help PLEASE


Use:
	
<xsl:text disable-output-escaping="yes">&nbsp;</xsl:text>

It seems a really round-about way of doing a simple, common task,
doesn't it?

Piers.

-----Original Message-----
From: Gutti, Sridhara [mailto:sgutti@ingr.com] 
Sent: Friday, June 01, 2001 7:49 PM
To: xsl-list@lists.mulberrytech.com
Cc: tweather@slamdunknetworks.com
Subject: RE: [xsl] XSL and White Space help PLEASE


This seems to work but it's outputting this character instead of a white
space.. A 
Am i missing some, thanks for your help..
~sri

-----Original Message-----
From: Theodore Weatherly [mailto:tweather@slamdunknetworks.com]
Sent: Friday, June 01, 2001 9:35 PM
To: 'xsl-list@lists.mulberrytech.com'
Subject: RE: [xsl] XSL and White Space help PLEASE


Space (using disable-output-escaping) should work, even in a table.  You
can try using nsbp (#160) chars:

<xsl:choose>
  <xsl:when test="@AISLE">
    <font size="3" color="#000000">
    <i><xsl:text>&#160;Aisle:&#160;</xsl:text></i><xsl:value-of
select="@AISLE"/>
    </font>
  </xsl:when> 
</xsl:choose>

Hope that helps

-----Original Message-----
From: Gutti, Sridhara [mailto:sgutti@ingr.com]
Sent: Friday, June 01, 2001 7:27 PM
To: xsl-list@lists.mulberrytech.com
Subject: RE: [xsl] XSL and White Space help PLEASE


I tried but it is not working, does it matter if I'm putting this in a
table?

-----Original Message-----
From: Theodore Weatherly [mailto:tweather@slamdunknetworks.com]
Sent: Friday, June 01, 2001 9:13 PM
To: 'xsl-list@lists.mulberrytech.com'
Subject: RE: [xsl] XSL and White Space help PLEASE


Shridhar,

Try:

<xsl:text disable-output-escaping="yes"> </xsl:text>

This seems like something that should be in the XSL FAQ.

-----Original Message-----
From: Gutti, Sridhara [mailto:sgutti@ingr.com]
Sent: Friday, June 01, 2001 7:07 PM
To: xsl-list@lists.mulberrytech.com
Subject: [xsl] XSL and White Space help PLEASE



Folks, 

I'm trying to insert a white space using XSL, but I don't seem to get it
working, I'm using msxml3.0 and 
I Tried the following..

<xsl:text> </xsl:text> and also
<xsl:text>&#32</xsl:text>


Niether of those is working, can you guys help me please.. I just want
to insert a space in the following example...

thanks, sridhar.



<xsl:choose>
           <xsl:when test="@AISLE">
           <xsl:text> </xsl:text>
            <font size="3" color="#000000">
              <i><xsl:text> Aisle: </xsl:text></i><xsl:value-of
select="@AISLE"/>
            </font>
           </xsl:when> 
 </xsl:choose>
          
   <xsl:choose>
           <xsl:when test="@BAY_NUM">
           <xsl:text> </xsl:text>
            <font size="3" color="#000000">
              <i><xsl:text> BayNum: </xsl:text></i><xsl:value-of
select="@BAY_NUM"/>
            </font>
           </xsl:when> 
     </xsl:choose>

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

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

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

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

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]