Changeset 4744 for trunk/gsdl/perllib/plugins/XMLPlug.pm
- Timestamp:
- 2003-06-20T14:22:34+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/XMLPlug.pm
r3540 r4744 35 35 36 36 use XML::Parser; 37 my $arguments = [ { 'name' => "process_exp", 38 'desc' => "A perl regular expression to match against filenames. Matching filenames will be processed by this plugin. Each plugin has its own default process_exp. e.g HTMLPlug defaults to '(?i)\.html?\$' i.e. all documents ending in .htm or .html (case-insensitive).", 39 'type' => "string", 40 'deft' => q^(?i)\.xml$^, 41 'reqd' => "no" } ]; 37 38 my $arguments = 39 [ { 'name' => "process_exp", 40 'desc' => "A perl regular expression to match against filenames. Matching filenames will be processed by this plugin. For example, using '(?i).html?\$' matches all documents ending in .htm or .html (case-insensitive).", 41 'type' => "string", 42 'deft' => &get_default_process_exp(), 43 'reqd' => "no" } ]; 42 44 43 45 my $options = { 'name' => "XMLPlug", 44 'desc' => "",45 46 46 'desc' => "Base class for XML plugins.", 47 'inherits' => "yes", 48 'args' => $arguments }; 47 49 48 50
Note:
See TracChangeset
for help on using the changeset viewer.