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.

Note

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.