1XML::DOM::Entity(3) User Contributed Perl Documentation XML::DOM::Entity(3)
2
3
4
6 XML::DOM::Entity - An XML ENTITY in XML::DOM
7
9 XML::DOM::Entity extends XML::DOM::Node.
10
11 This node represents an Entity declaration, e.g.
12
13 <!ENTITY % draft 'INCLUDE'>
14
15 <!ENTITY hatch-pic SYSTEM "../grafix/OpenHatch.gif" NDATA gif>
16
17 The first one is called a parameter entity and is referenced like this:
18 %draft; The 2nd is a (regular) entity and is referenced like this:
19 &hatch-pic;
20
21 METHODS
22 getNotationName
23 Returns the name of the notation for the entity.
24
25 Not Implemented The DOM Spec says: For unparsed entities, the name
26 of the notation for the entity. For parsed entities, this is null.
27 (This implementation does not support unparsed entities.)
28
29 getSysId
30 Returns the system id, or undef.
31
32 getPubId
33 Returns the public id, or undef.
34
35 Additional methods not in the DOM Spec
36 isParameterEntity
37 Whether it is a parameter entity (%ent;) or not (&ent;)
38
39 getValue
40 Returns the entity value.
41
42 getNdata
43 Returns the NDATA declaration (for general unparsed entities), or
44 undef.
45
46
47
48perl v5.34.0 2021-07-27 XML::DOM::Entity(3)