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
23 getNotationName
24 Returns the name of the notation for the entity.
25
26 Not Implemented The DOM Spec says: For unparsed entities, the name
27 of the notation for the entity. For parsed entities, this is null.
28 (This implementation does not support unparsed entities.)
29
30 getSysId
31 Returns the system id, or undef.
32
33 getPubId
34 Returns the public id, or undef.
35
36 Additional methods not in the DOM Spec
37
38 isParameterEntity
39 Whether it is a parameter entity (%ent;) or not (&ent;)
40
41 getValue
42 Returns the entity value.
43
44 getNdata
45 Returns the NDATA declaration (for general unparsed entities), or
46 undef.
47
48
49
50perl v5.8.8 2002-02-08 XML::DOM::Entity(3)