XSLT::Dependencies - Finds all the files included or imported by particular XSLT
use XSLT::Dependencies; my $dep = new XSLT::Dependencies; my @dep_list = XSLT::Dependencies->explore('myfile.xslt');
XSLT::Dependencies builds a list of all the files included or imported by a given XSTL one. Recursive dependencies always result in a flattened list.
XSLT::Dependencies scans the given XSTL file and all the files it includes by
Creates a new instance of XSLT::Dependencies object.
my $dep = new XSLT::Dependencies;
Scans a file together with all its dependencies and returns a list of absolute paths for every dependent file.
my @dep_list = XSLT::Dependencies->explore('myfile.xslt');
Resultant list does not include the path to the top-level file for which
explore was called. If some file is included more then once, it gives a single item in the result. The list is not sorted in any way.
Note that version 0.2 does not follow any non-standard namespace scheme except
The idea behind XSLT::Dependencies was to find all the files that are used to create the final XSLT transformation tree and take a decision whether you need to refresh cached version of the main one.
Andrew Shitov, <email@example.com>
XSLT::Dependencies module is a free software. You may redistribute and (or) modify it under the same terms as Perl, which ever version you mean.