Help for this page
<xslt:stylesheet version="1.0" xmlns:data="http://www.SDMX.org/resourc +es/SDMXML/schemas/v2_0/generic" xmlns:xslt="http://www.w3.org/1999/XS +L/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xm +lns:message="http://www.SDMX.org/resources/SDMXML/schemas/v2_0/messag +e" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="text" omit-xml-declaration="yes"/> ... </xslt:for-each> </xslt:template> </xslt:stylesheet>
my $parser = XML::LibXML->new(); my $xslt = XML::LibXSLT->new(); ... open OUTPUTFILE, ">>$outputFile" or die("Unable to open $outputFil +e, $!"); print OUTPUTFILE $stylesheet->transform($source); close OUTPUTFILE;