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

Re:   vs  

Subject: Re:   vs  
From: David_Marston@xxxxxxxxx
Date: Fri, 3 Aug 2001 14:57:39 -0400
160
Alan Alda asks:
>I am using   in my sheets to insert a whitespace-
>however, in Michael Kay's excellent book, I came
>across &#xA0. They look like they do the same thing,
>but which is a more standard way of inserting an
>  in the resulting HTML?

I suppose #160 is slightly more likely to work, but any reasonable
XML parser should handle both and produce a byte containing
10100000 (in binary) either way. &#NNN; is a notation where NNN are
taken as decimal digits, while &#xNNN; causes the digits to be taken
as hexidecimal, also known as base 16. In hex (as its friends call it),
"A" is the digit for ten, so A0 is a ten in the sixteens place plus
zero in the ones place, converting to 10*16 + 0 = 160 decimal.

Character #160 should not be confused with #32, which is the "normal"
space character. If <xsl:value-of select="' '" /> has a "normal"
space between those single quotes, that's what you'll get.
.................David Marston


 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.