O'Reilly logo

Sams Teach Yourself XML in 10 Minutes by Andrew H. Watt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Unparsed Entities

Unparsed entities are used in attribute values and are referenced by name. If the name of an unparsed entity appears in an attribute value declared as being of type ENTITY or ENTITIES, a validating XML processor must pass both the system identifier and the public identifier for the unparsed entity to the application.

The content of an unparsed entity may be text or other types of data. If it is text, then it can be XML or some other format.

An unparsed entity is declared using the following format:

<!ENTITY entityName SYSTEM "myPicture.gif" NDATA gif> 

The entityName is used in attribute values to reference the unparsed entity. The filename of the entity is given in quotation marks following the SYSTEM keyword. The keyword ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required