Read a bit further in the XML::LibXML documentation.
You can also use strings. Something like this should work:
my $parser = XML::LibXML->new();
my $xslt = XML::LibXSLT->new();
my $xmldoc = $parser->parse_string($plain_xml_string1);
my $xsldoc = $parser->parse_string($xslt_string);
my $stylesheet = $xslt->parse_stylesheet($xsldoc);
my $results = $stylesheet->transform($xmldoc);
| [reply] [d/l] |
I'm ashamed bacause of my "sharpness", Few minutes after posting this silly #$%^&*!!! I assert that I should go to sleep because I don't see what is what. (thanks Joost for quick replay)
Humilty regards
| [reply] |