Changeset 2890


Ignore:
Timestamp:
2001-12-10T14:28:31+13:00 (22 years ago)
Author:
sjboddie
Message:

Added xml_entity function to XMLPlug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/XMLPlug.pm

    r2812 r2890  
    4646                 'Handlers' => {'Char' => \&Char,
    4747                        'XMLDecl' => \&XMLDecl,
     48                        'Entity' => \&Entity,
    4849                        'Doctype' => \&Doctype,
    4950                        'Default' => \&Default
     
    109110sub StartDocument {$self->xml_start_document(@_);}
    110111sub XMLDecl {$self->xml_xmldecl(@_);}
     112sub Entity {$self->xml_entity(@_);}
    111113sub Doctype {$self->xml_doctype(@_);}
    112114sub StartTag {$self->xml_start_tag(@_);}
     
    137139    my $self = shift(@_);
    138140    my ($expat, $version, $encoding, $standalone) = @_;
     141}
     142
     143# Called for XML entities
     144sub xml_entity {
     145  my $self = shift(@_);
     146  my ($expat, $name, $val, $sysid, $pubid, $ndata) = @_;
    139147}
    140148
Note: See TracChangeset for help on using the changeset viewer.