The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

TurboXSLT - Interface to multithreaded XML+XSLT transformation library libturboxsl

SYNOPSIS

  use TurboXSLT;

  my $xslt = TurboXSLT->new;

  my $doc = $xslt->Parse("<foo><bar/></foo>");
   or
  my $doc = $xslt->ParseFile("document.xml");

  my $style = $xslt->LoadStylesheet("test.xsl");

  my $res = $style->Transform($doc);

  my $result_text = $style->Output($res);
    or
  $style->OutputFile("output.xml", $res);

DESCRIPTION

This module is an interface to the turboxsl library, a fast, multithreaded xml parse and xsl transformation library. While not as stable and functional as libxml+libxslt, turboxsl is times faster and is intended mainly for HTML generation in large, heavy loaded projects.

NOTE

Both library and interface are still under development, so some bugs may occur in transformation; parser is not verified to be 100% standard-compatible. Only UTF8 encoding is currently supported both for input and output