Config

NAME

LibXSLT::Config - LibXSLT Global configuration

SYNOPSIS

use LibXSLT::Config;
  LibXSLT::Config.max-vars = 2000;
  # -- OR --
  use LibXSLT;
  LibXSLT.max-vars = 2000;

This is a singleton class that handles global configuration settings.

The only updatable settings are `max-depth` and `max-vars`. These should usually be set once at program initialization.

LibXSLT handles has all of the settings method available, so there is not usually any need to work with this class directly.

METHODS

have-exslt
Returns True if the `libexslt` library is available in this build.
version
The current version of `libxslt`
build-version
The version of `libxslt` that the Raku bindings were built against. This may vary if `libxslt` has been upgraded since this Raku module was built.
max-depth
This option sets the maximum recursion depth for a stylesheet. See the very end of section 5.4 of the XSLT specification for more details on recursion and detecting it. If your stylesheet or XML file requires seriously deep recursion, this is the way to set it.
max-vars
This option sets the maximum number of variables for a stylesheet. If your stylesheet or XML file requires many variables, this is the way to increase their limit. Default value is system-specific and may vary.

LibXSLT v0.1.8

Interface to the GNOME libxslt library

Authors

  • David Warring

License

Artistic-2.0

Dependencies

LibXML:ver<0.11.2+>Method::Also

Test Dependencies

Provides

  • LibXSLT
  • LibXSLT::Config
  • LibXSLT::Document
  • LibXSLT::Enums
  • LibXSLT::ExtensionContext
  • LibXSLT::Raw
  • LibXSLT::Raw::Defs
  • LibXSLT::Security
  • LibXSLT::Stylesheet
  • LibXSLT::TransformContext

The Camelia image is copyright 2009 by Larry Wall. "Raku" is a trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.