View Single Post
  #4 (permalink)  
Old September 6th, 2011, 06:05 AM
mhkay's Avatar
mhkay mhkay is offline
Wrox Author
Points: 18,481, Level: 59
Points: 18,481, Level: 59 Points: 18,481, Level: 59 Points: 18,481, Level: 59
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,960
Thanks: 0
Thanked 292 Times in 287 Posts
Default

XSLT doesn't know or care what characters are on your keyboard. I've just acquired a MAC which I'm surprised to discover has no "#" on the keyboard. There's a question about how to enter a "#" using such a keyboard (answer: ALT+£) but that's nothing to do with XSLT.

When you're editing XML, then as a convenience instead of finding special key combinations for non-keyboard characters, or using a screen-based soft keyboard, XML allows you to use a numeric character reference in the actual data. But there's almost no difference in practice from entering the real character.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
Reply With Quote