26 July 2009

XML Specification

The XML specification does not use the term "character entity" or "character entity reference". The XML specification defines five "predefined entities" representing special characters, and requires that all XML processors honor them. The entities can be explicitly declared in a DTD, as well, but if this is done, the replacement text must be the same as the built-in definitions. XML also allows other named entities of any size to be defined on a per-document basis.

The table below lists the five XML predefined entities. The "Name" column mentions the entity's name. The "Character" column shows the character, if it is renderable. In order to render the character, the format &name; is used; for example, & renders as &. The "Unicode code point" column cites the character via standard UCS/Unicode "U+" notation, which shows the character's code point in hexadecimal. The decimal equivalent of the code point is then shown in parentheses. The "Standard" column indicates the first version of XML that includes the entity. The "Description" column cites the character via its canonical UCS/Unicode name, in English.

9 comments:

Vincent Liu said...

Comment

Vincent Liu said...

Comment

Vincent Liu said...

woo

Vincent Liu said...

plety of omment

Vincent Liu said...

woot!!!!


Zoomg

Vincent Liu said...

comments

Vincent Liu said...

More comments

Vincent Liu said...

Even more comments

Vincent Liu said...

Test Test Test

Post a Comment