|
NAMEXML::LibXSLT::Cache - Style sheet cache for XML::LibXSLTVERSIONversion 0.14SYNOPSISmy $cache = XML::LibXSLT::Cache->new; my $stylesheet = $cache->parse_stylesheet_file('file.xsl'); DESCRIPTIONXML::LibXSLT::Cache is a cache for XML::LibXSLT style sheets loaded from files. It is useful to speed up loading of XSLT style sheets in persistent web applications.This module caches the style sheet object after the first load and returns the cached version on subsequent loads. Style sheets are reloaded whenever the style sheet file changes. Changes to other files referenced during parsing also cause a reload, for example when using xsl:import and xsl:include. METHODSnewmy $cache = XML::LibXSLT::Cache->new(%opts); my $cache = XML::LibXSLT::Cache->new(\%opts); Creates a new cache. Valid options are:
parse_stylesheet_filemy $stylesheet = $cache->parse_stylesheet_file($filename); Works like "parse_stylesheet_file" in XML::LibXSLT. AUTHORNick Wellnhofer <wellnhofer@aevum.de>COPYRIGHT AND LICENSEThis software is copyright (c) 2020 by Nick Wellnhofer.This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Visit the GSP FreeBSD Man Page Interface. |