Hello, I tried to reproduce this bug using the same xml and xsl files as you and the following script:
#!/usr/bin/perl use strict; use warnings; use XML::LibXSLT; my $xslt = XML::LibXSLT->new(); my $transform; eval { $transform = $xslt->parse_stylesheet_file('transform.xsl'); }; die "$@ parsing transform.xsl." if $@; my $newdom = $transform->transform_file('data.xml'); $transform->output_fh($newdom, \*STDOUT); This code gives me the desired output: ./transform.pl Risorsa con problemi Can you please check if this bug still occurs for you with the latest version of libxml-libxslt-perl? Regards, Flo -- BOFH excuse #245: The Borg tried to assimilate your system. Resistance is futile.
signature.asc
Description: Digital signature