|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re:   vs  
Alan Alda asks: >I am using   in my sheets to insert a whitespace- >however, in Michael Kay's excellent book, I came >across  . 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








