```{index} single: XML::LibXSLT ``` # XML::LibXSLT ```{pperl-module-badges} XML::LibXSLT ``` `XML::LibXSLT` - XSLT 1.0 transformations of XML::LibXML documents. ```perl use XML::LibXML; use XML::LibXSLT; my $xslt = XML::LibXSLT->new; my $style = $xslt->parse_stylesheet(XML::LibXML->load_xml(location => 'page.xsl')); my $out = $style->transform(XML::LibXML->load_xml(location => 'data.xml'), title => "'Report'"); print $style->output_as_bytes($out); ``` This is a native implementation of the CPAN distribution XML-LibXSLT 2.003000 over the system's libxslt and libexslt, built against libxml2 2.15 or newer as pperl's XML engine is; its Perl modules are used unchanged. The EXSLT extensions are registered, extension functions and elements written in Perl work as with the compiled original, and the security callbacks decide what a transform may read and write. ## Modules - [`XML::LibXSLT::Quick`](LibXSLT/Quick.md) - an easier to use (= "quicker") interface to XML::LibXSLT ## Functions ### Other Functions #### `LIBXSLT_DOTTED_VERSION` xsltconfig.h's `LIBXSLT_DOTTED_VERSION`: the libxslt an XS build is compiled against, which is the one it runs on. ```{toctree} :hidden: :maxdepth: 1 LibXSLT/Quick ```