...
One of the more common entities used in HTML is the non-breaking white space, used to offset text and pad empty elements. While it is defined in XHTML as
(as are about 250 other entities like © ® ©
®
&rarr
, ;
etc.), the XSL processor will throw an error if those entities are used in the XSL code. The reason for this is that only the following five entities are explicitly defined in XML, mostly because the symbols are part of the syntax structure:
Entity | Character |
---|---|
|
...
| & |
...
| ' |
| " |
| > |
| < |
In order to insert other symbols into the HTML, use the ISO 8859-1 codes for those entities, i.e.
...
U+00A0
instead of
...
and U+00A9
instead of
...
©
. A full list of entities and their corresponding codes can be found in section 24 of the W3C Recommendation for HTML4:http://www.w3.org/TR/html401/sgml/entities.html
Override rules for templates: priority, import precedence, and modes.
...