<< Click to Display Table of Contents >> Special characters |
|
There are characters which are not allowed in XML documents, as text. These are for example the double-quote ”, because it means the start and end of a string. If you want to use such characters in your text, you need to use special markup.
For example to print a double-quote character, you would use markup " as follows:
<label text=”Book "actual" name:” />
This would print out in a receipt as
Book ”actual” name:
Other special characters and their markup are:
Markup |
Character |
Name |
< |
< |
Lesser than -sign |
> |
> |
Greater than -sign |
& |
& |
Ampersand |
' |
’ |
Apostrophe, or single-quote |
" |
” |
Double quote |