[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: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Sat, 22 Feb 2003 10:26:59 -0000
html insert tab
Just use numeric character references: &#x9; for tab, &#x20; for space,
&#xa0; for non-breaking space. Preferably wrapped in an <xsl:text>
element, to avoid unwanted whitespace stripping. The serializer will
make its own decisions how to represent these characters in the HTML
output, but it will do it in a way that the browser understands.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 



> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Mac Martine
> Sent: 21 February 2003 22:20
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  insert a tab/space characters
> 
> 
> 
> Hello-
>  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....
> Thanks-
>  mac
> 
> 
>  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.