Friday, 6 July 2012

ENTITIES


Entities

Some characters have a special meaning in XML, like the less than sign (<) that defines the start of an XML tag.

Most of you know the HTML entity: "&nbsp;". This "no-breaking-space" entity is used in HTML to insert an extra space in a document. Entities are expanded when a document is parsed by an XML parser.

The following entities are predefined in XML:

Entity References
Character
&lt;
< 
&gt;
> 
&amp;
&
&quot;
"
&apos;
'



No comments:

Post a Comment