Corresponding Entity |
< |
lt |
> |
gt |
& |
amp |
' |
apos |
'' |
quot |
Using the entity references, you can alternatively define a range element with the value ‘0 < counter |
< 1000’: |
<range>0 < counter < 100</range> |
You can also represent characters in PCDATA with character references, which are nothing more than numeric character codes enclosed in &# and ; symbols, as in |
<range>0 < counter < 100</range> |
Character references are useful for representing characters that can’t be typed from the keyboard. Entity arbitrary content, CDATA sections are far more convenient. |