Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 13th, 2004, 11:47 AM
Authorized User
 
Join Date: May 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default White space

Hi everybody,

How do I create a blank space in XSLT? I used #160; before and it worked.
When I use .NET this produces a question mark. I have tried
#x20; and it does not produce a ? but does not create a space.

I coded this: <td>Job Info #x20; <img src="mysc> </img></td>.
I am not getting a space between 'Job Info' and th image.
Thanks for your help.


SS
__________________
SS
 
Old May 15th, 2004, 06:21 AM
Registered User
 
Join Date: May 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Give a try to <xsl:text> </xsl:text>

 
Old May 17th, 2004, 05:29 AM
Registered User
 
Join Date: May 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This works fine for me:

<xsl:text>#160;#160;#160;#160;</xsl:text>

Inserts 4 space characters.






Similar Threads
Thread Thread Starter Forum Replies Last Post
White space is required between the public identif ashok.andena XSLT 2 June 2nd, 2008 05:27 AM
clean white space and comments Kabe XSLT 0 June 15th, 2007 03:34 AM
White-space preserved David P. Manning XML 1 April 24th, 2007 07:50 AM
TRIM WHITE SPACE vickr1z SQL Language 3 January 12th, 2007 12:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.