At 20:00 04/02/2001 -0500, r.gordon wrote:
>I would like to pass a variable instead as the data file, i.e. $out.
>Tried the following:
>system `sabcmd temp.xsl $out` nothing happens
>system `sabcmd temp.xsl "$out"` Parsing 'file://stdin'... waits forever
>Using Windows binary on Win98
There's a ppm of XML::Sablotron at
http://members.home.com/johncope/perl/Sablotron.zip it might be better.
You could also
open OUT, "| sabcmd temp.xsl" or die;
print OUT $out;
close OUT;
If you also want to get the output from sabcmd, have a look at IPC::Open2.
-- robin b.
"Many people would sooner die than think. In fact, they do." - Bertrand
Russell