in reply to Re^3: Using XML::XSLT to convert XML to CSV
in thread Using XML::XSLT to convert XML to CSV

When I paste the above in my Windows XP command line to check the version, I get:
Can't find string terminator "'" anywhere before EOF at -e line 1.
However, I put this in a script file:
use XML::XSLT; print "$XML::XSLT::VERSION\n";
and then it prints:
0.48

Replies are listed 'Best First'.
Re^5: Using XML::XSLT to convert XML to CSV
by Joost (Canon) on Aug 27, 2007 at 19:53 UTC
Re^5: Using XML::XSLT to convert XML to CSV
by Photius (Sexton) on Aug 27, 2007 at 19:54 UTC
    also
    XML::Parser version is 2.34
      Ok, that's also the same as mine.

      Under normal windows semantics

      "C:/path/to/file.xml"
      should be acceptable, provided you've actually got permissions to read that file (which probably includes read access to the directories above it)

      You can try passing an XML::DOM object instead of a file (XML::XSLT supports both):

      # stuff here.. my $parser = new XML::DOM::Parser; my $doc = $parser->parsefile ("c:/path/to/file.xml"); $xslt->transform($doc); # proceed