TurboXSLT - Interface to multithreaded XML+XSLT transformation library libturboxsl
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);
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.
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
To install TurboXSLT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TurboXSLT
CPAN shell
perl -MCPAN -e shell install TurboXSLT
For more information on module installation, please visit the detailed CPAN module installation guide.