XML::Template::Element::File::Load - XML::Template loader module that loads documents from files.
This module implements an XML::Template document loader that loads documents from files.
A constructor method new is provided by XML::Template::Base. A list of named configuration parameters may be passed to the constructor. The constructor returns a reference to a new block loader object or under if an error occurred. If undef is returned, you can use the method error to retrieve the error. For instance:
new
error
my $parser = XML::Template::Element::File::Load->new (%config) || die XML::Template::Element::File::Load->error;
The following named configuration parameters may be passed to the constructor:
This is a reference to an array containing paths where XML::Template documents will be searched for when loading.
This method is the internal initialization function called from XML::Template::Base when a new file loader object is created.
This method loads an XML document from a file located in one of the directories listed in the IncludePath constructor parameter. It returns a new XML::Template::Document object.
Jonathan Waxman <jowaxman@bbl.med.upenn.edu>
Copyright (c) 2002-2003 Jonathan A. Waxman All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install XML::Template, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Template
CPAN shell
perl -MCPAN -e shell install XML::Template
For more information on module installation, please visit the detailed CPAN module installation guide.