Special characters

<< Click to Display Table of Contents >>

Navigation:  Receipt editor > Receipt definition file format >

Special characters

Previous pageReturn to chapter overviewNext page

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 &quot; as follows:

 

 <label text=”Book &quot;actual&quot; name:” />

 

This would print out in a receipt as

 

 Book ”actual” name:

 

Other special characters and their markup are:

Markup

Character

Name

&lt;

<

Lesser than -sign

&gt;

>

Greater than -sign

&amp;

&

Ampersand

&apos;

Apostrophe, or single-quote

&quot;

Double quote