This will generate an XML error:
<message>if salary < 1000 then</message>
To avoid this error, replace the "<" character with an entity reference:
<message>if salary < 1000 then</message>
There are 5 predefined entity references in XML:
| < | < | less than | 
| > | > | greater than | 
| & | & | ampersand | 
| ' | ' | apostrophe | 
| " | " | quotation mark | 
 
No comments:
Post a Comment