Parsed Entities

In XML, an entity may contain parsed data or unparsed data. The term parsed data refers to data in XML syntax that is to be parsed—it doesn’t mean that it has already been parsed. Similarly, the term unparsed data refers to data that is not intended to be parsed by an XML processor.


Parsed entities are also general entities because they are used within the XML document rather than in the DTD. An internal parsed entity and an internal general entity are the same thing.

Parsed data consists of characters, which may represent either character data or markup.

<name>John Smith</name> 

The preceding line of code consists of characters. ...

Get Sams Teach Yourself XML in 10 Minutes now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.