xml Entities Pre-defined general entities


Example

XML pre-defines five general entities that can be used without declaring them:

& " ' < >

They are associated with the names amp, quot, apos, lt and gt.

<?xml version="1.0"?>
<entities>
  &amp; is an ampersand.
  &quot; is a quote.
  &apos; is an apostrophe.
  &lt; is a lower-than sign.
  &gt; is a greater-than sign. 
</entities>