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

Re: whitespace problem

Subject: Re: whitespace problem
From: "Zoe Peng" <zoe@xxxxxxxxxxxx>
Date: Tue, 20 Aug 2002 00:11:44 -0400
xml carraige return
Vasa,
Thanks.
The only whitespace that works in openwave simulator(for wap) is 
carraige return in my case. I don't know why. Sometimes, it works
when I simply do <xsl:text> </xsl:text>. well..still thinking..Thanks.
--Zoe


> Zoe,
> It depends upon what you mean by "whitespaces".
> Whitespace is defined as any sequence of the following four 
characters.
> tab,newline,carraige return and space.
> the following is what you have to do to output the above characters
> 
> tab ---------------> <xsl:text>&#x9;</xsl:text>
> newline------------> <xsl:text>&#xA;</xsl:text>
> Carraige Return----> <xsl:text>&#xD;</xsl:text>
> space -------------> <xsl:text>&#x20;</xsl:text>
> 
> Hope this helps
> Vasu
> 
> 
> >From: "Zoe Peng" <zoe@xxxxxxxxxxxx>
> >Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> >To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> >Subject:  whitespace problem
> >Date: Fri, 16 Aug 2002 10:26:20 -0400
> >
> >Hi,
> >I just want to add some whitespaces between two tags in stylesheet.
> >I tried
> >1. <xsl:text>  </xsl:text>
> >2. <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text>
> >3. <xsl:preserve-space.. tag needs to define elements. But, I don't
> >want all of document to apply this.
> >
> >no of these works. Do we have another ways to do this?
> >Thanks.
> >--Zoe
> >
> >
> >
> >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-
list
> 
> 
> 
> 
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 



 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.