spencerr1 has asked for the wisdom of the Perl Monks concerning the following question:
Is it possible to print the transformation to a file instead of the consol
#!/usr/bin/perl use XML::XSLT; my $xmlfile = "example.xml"; my $xslfile = "example.xsl"; my $parser = XML::XSLT->new ($xslfile, "FILE"); $parser->transform_document ($xmlfile, "FILE"); $parser->print_result();
Thank You
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: XML::XSLT question
by runrig (Abbot) on Jan 29, 2013 at 00:52 UTC | |
Re: XML:XSLT question
by choroba (Cardinal) on Jan 29, 2013 at 08:46 UTC | |
by spencerr1 (Novice) on Jan 29, 2013 at 15:21 UTC |
Back to
Seekers of Perl Wisdom