But what makes a difference?
A simple script using XML:Sablotron is attached.
Just type
perl sablot.pl including.xsl data.xml
instead of
sabcmd including.xsl data.xml
Anthony Gaudio wrote:
> that works perfectly, except I failed to tell you that I want it to
> work with the XML::Sablotron Perl package.
>
--
Petr Cimprich
Ginger Alliance Ltd.
www.gingerall.com
#!/usr/bin/perl
use strict;
use XML::Sablotron qw (:all);
my $template = shift @ARGV;
my $data = shift @ARGV;
my $sab = new XML::Sablotron();
$sab->RunProcessor("$template", "$data", 'arg:/result',
[], []);
my $result = $sab->GetResultArg('result');
print "$result\n";
exit;