1XML::DOM::EntityReferenUcsee(r3)Contributed Perl DocumenXtMaLt:i:oDnOM::EntityReference(3)
2
3
4
6 XML::DOM::EntityReference - An XML ENTITY reference in XML::DOM
7
9 XML::DOM::EntityReference extends XML::DOM::Node.
10
11 EntityReference objects may be inserted into the structure model when
12 an entity reference is in the source document, or when the user wishes
13 to insert an entity reference. Note that character references and
14 references to predefined entities are considered to be expanded by the
15 HTML or XML processor so that characters are represented by their
16 Unicode equivalent rather than by an entity reference. Moreover, the
17 XML processor may completely expand references to entities while
18 building the structure model, instead of providing EntityReference
19 objects. If it does provide such objects, then for a given
20 EntityReference node, it may be that there is no Entity node
21 representing the referenced entity; but if such an Entity exists, then
22 the child list of the EntityReference node is the same as that of the
23 Entity node. As with the Entity node, all descendants of the
24 EntityReference are readonly.
25
26 The resolution of the children of the EntityReference (the replacement
27 value of the referenced Entity) may be lazily evaluated; actions by the
28 user (such as calling the childNodes method on the EntityReference
29 node) are assumed to trigger the evaluation.
30
31
32
33perl v5.38.0 2023-07-21 XML::DOM::EntityReference(3)