ISO-8859-1 Character Set(XSLT Characters)

I got tired of looking up the special characters for HTML and more importantly XSLT, so I decided to put them here for easy reference.

In HTML, you can use use specific code positions to display special characters. For example   is equivalent to placing a space in your text, in other words, a non-breaking space; and © is the equivalent of placing a copyright sign on the page, i.e., ©

However, in XSLT you are not allowed to use these types of characters, you need to use the ISO-8859-1 character set. The biggest difference being, these characters have a hash mark just after the & which makes the XSLT processor happy. So, instead of inserting   as a non breaking space, you'd insert   and instead of © you'd use ©

Note: these characters are not limited in use to XSLT pages, they are just as acceptable in an HTML file as demonstrated in the "Visual" column below.

ISO-8859-1 Character Set

VisualReferenceValue
  - Unused
  Horizontal tab
  Line feed
  - Unused
  Carriage Return
  - Unused
  Space
!!Exclamation mark
""Quotation mark
##Number sign
$$Dollar sign
%%Percent sign
&&Ampersand
''Apostrophe
((Left parenthesis
))Right parenthesis
**Asterisk
++Plus sign
,,Comma
--Hyphen
..Period (fullstop)
//Solidus (slash)
0 - 90 - 9Digits 0-9
::Colon
;;Semi-colon
<<Less than
==Equals sign
>>Greater than
??Question mark
@@Commercial at
A - ZA - ZLetters A-Z
[[Left square bracket
/\Reverse solidus (backslash)
]]Right square bracket
^^Caret
__Horizontal bar (underscore)
``Acute accent
a - za - zLetters a-z
{{Left curly brace
||Vertical bar
}}Right curly brace
~~Tilde
 - Ÿ - ŸUnused
  Non-breaking Space
¡¡Inverted exclamation
¢¢Cent sign
££Pound sterling
¤¤General currency sign
¥¥Yen sign
¦¦Broken vertical bar
§§Section sign
¨¨Umlaut (dieresis)
©©Copyright
ªªFeminine ordinal
««Left angle quote, guillemotleft
¬¬Not sign
­­Soft hyphen
®®Registered trademark
¯¯Macron accent
°°Degree sign
±±Plus or minus
²²Superscript two
³³Superscript three
´´Acute accent
µµMicro sign
Paragraph sign
··Middle dot
¸¸Cedilla
¹¹Superscript one
ººMasculine ordinal
»»Right angle quote, guillemotright
¼¼Fraction one-fourth
½½Fraction one-half
¾¾Fraction three-fourths
¿¿Inverted question mark
ÀÀCapital A, grave accent
ÁÁCapital A, acute accent
ÂÂCapital A, circumflex accent
ÃÃCapital A, tilde
ÄÄCapital A, dieresis or umlaut mark
ÅÅCapital A, ring
ÆÆCapital AE dipthong (ligature)
ÇÇCapital C, cedilla
ÈÈCapital E, grave accent
ÉÉCapital E, acute accent
ÊÊCapital E, circumflex accent
ËËCapital E, dieresis or umlaut mark
ÌÌCapital I, grave accent
ÍÍCapital I, acute accent
ÎÎCapital I, circumflex accent
ÏÏCapital I, dieresis or umlaut mark
ÐÐCapital Eth, Icelandic
ÑÑCapital N, tilde
ÒÒCapital O, grave accent
ÓÓCapital O, acute accent
ÔÔCapital O, circumflex accent
ÕÕCapital O, tilde
ÖÖCapital O, dieresis or umlaut mark
××Multiply sign
ØØCapital O, slash
ÙÙCapital U, grave accent
ÚÚCapital U, acute accent
ÛÛCapital U, circumflex accent
ÜÜCapital U, dieresis or umlaut mark
ÝÝCapital Y, acute accent
ÞÞCapital THORN, Icelandic
ßßSmall sharp s, German (sz ligature)
ààSmall a, grave accent
ááSmall a, acute accent
ââSmall a, circumflex accent
ããSmall a, tilde
ääSmall a, dieresis or umlaut mark
ååSmall a, ring
ææSmall ae dipthong (ligature)
ççSmall c, cedilla
èèSmall e, grave accent
ééSmall e, acute accent
êêSmall e, circumflex accent
ëëSmall e, dieresis or umlaut mark
ììSmall i, grave accent
ííSmall i, acute accent
îîSmall i, circumflex accent
ïïSmall i, dieresis or umlaut mark
ððSmall eth, Icelandic
ññSmall n, tilde
òòSmall o, grave accent
óóSmall o, acute accent
ôôSmall o, circumflex accent
õõSmall o, tilde
ööSmall o, dieresis or umlaut mark
÷÷Division sign
øøSmall o, slash
ùùSmall u, grave accent
úúSmall u, acute accent
ûûSmall u, circumflex accent
üüSmall u, dieresis or umlaut mark
ýýSmall y, acute accent
þþSmall thorn, Icelandic
ÿÿSmall y, dieresis or umlaut mark
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

平头老王

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值