WebSphere Message Broker, Version 8.0.0.7
Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS
See information about the latest product version
See information about the latest product version
XML EntityReferenceStart and EntityReferenceEnd
The EntityReferenceStart and EntityReferenceEnd elements are used to store entity references that occur in the XML message.
When an entity reference is encountered in the XML message, both the expanded form and the original entity name are stored in the syntax element tree. The name of the entity is stored as the value of the EntityReferenceStart and EntityReferenceEnd syntax elements, and any syntax elements between contain the entity expansion.
The following examples show the XML entity references in an XML document and in tree structure form:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE example [ <!ENTITY entityName "eValue"> ]>
<example>Test: &entityName;</example>

The XML declaration and the document type declaration are not shown here. Refer to The XML declaration and XML document type declaration for details of those sections of the syntax element tree.