121 |
for (keys %{$p->{ge}}) { |
for (keys %{$p->{ge}}) { |
122 |
my $ent = $p->{ge}->{$_}; |
my $ent = $p->{ge}->{$_}; |
123 |
my $v = '<!ENTITY ' . $ent->{name} . ' "'; |
my $v = '<!ENTITY ' . $ent->{name} . ' "'; |
124 |
$v .= $ent->{text} if defined $ent->{text}; |
$v .= $ent->{value} if defined $ent->{value}; |
125 |
$v .= '" "'; |
$v .= '" "'; |
126 |
$v .= $ent->{pubid} if defined $ent->{pubid}; |
$v .= $ent->{pubid} if defined $ent->{pubid}; |
127 |
$v .= '" "'; |
$v .= '" "'; |
133 |
} |
} |
134 |
for (keys %{$p->{pe}}) { |
for (keys %{$p->{pe}}) { |
135 |
my $ent = $p->{pe}->{$_}; |
my $ent = $p->{pe}->{$_}; |
136 |
my $v = '<!ENTITY % ' . $ent->{name} . ' "'; |
my $v = '<!ENTITY % ' . $ent->{name} . ' "'; |
137 |
$v .= $ent->{text} if defined $ent->{text}; |
$v .= $ent->{value} if defined $ent->{value}; |
138 |
$v .= '" "'; |
$v .= '" "'; |
139 |
$v .= $ent->{pubid} if defined $ent->{pubid}; |
$v .= $ent->{pubid} if defined $ent->{pubid}; |
140 |
$v .= '" "'; |
$v .= '" "'; |