GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  XML::LIBXSLT::CACHE (3)

.ds Aq ’

NAME

XML::LibXSLT::Cache - Style sheet cache for XML::LibXSLT

CONTENTS

VERSION

version 0.12

SYNOPSIS



    my $cache = XML::LibXSLT::Cache->new;

    my $stylesheet = $cache->parse_stylesheet_file(file.xsl);



DESCRIPTION

XML::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.

METHODS

    new



    my $cache = XML::LibXSLT::Cache->new(%opts);
    my $cache = XML::LibXSLT::Cache->new(\%opts);



Creates a new cache. Valid options are:
xslt The XML::LibXSLT object that should be used to load stylsheets if you want to reuse an existing object. If this options is missing a new XML::LibXSLT object will be created.

    parse_stylesheet_file



    my $stylesheet = $cache->parse_stylesheet_file($filename);



Works like parse_stylesheet_file in XML::LibXSLT.

AUTHOR

Nick Wellnhofer <wellnhofer@aevum.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 XML::LIBXSLT::CACHE (3) 2012-08-24

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.