IBM Integration Bus, Version 10.0.0.1 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS


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>
Example XML Entity reference tree structure

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.


ad06380_.htm | Last updated 2015-05-28 20:50:35