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

Re: insert a tab/space characters

Subject: Re: insert a tab/space characters
From: Mike Brown <mike@xxxxxxxx>
Date: Fri, 21 Feb 2003 16:49:10 -0700 (MST)
xml insert space
Mac Martine wrote:
>  Totally simple question, but . how can I make insert a tab and/or space
> characters into my html output from the xsl?
> &nbsp;, etc aren't legal in the xsl document....

This is the all-time #1 FAQ.
Didn't the list's welcome message point you to the FAQ?

Regardless, just pick one:

1.  &#160;

2.  &#xA0;

3.  &nbsp; after putting <!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "&#160;">]>
    at the top of your stylesheet, after the XML declaration but before 
    anything else (or reference any DTD containing that entity declaration);

4.  type the character directly, if your keyboard and/or OS provide a way 
    for you to do so, and your editor can be counted on to save the document 
    in an encoding that supports that character, and you've made the 
    encoding declaration match your editor's output.

 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.