Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Using XML::XSLT to convert XML to CSV

by Cody Pendant (Prior)
on Aug 22, 2007 at 00:58 UTC ( [id://634223]=note: print w/replies, xml ) Need Help??


in reply to Using XML::XSLT to convert XML to CSV

In the nicest possible way, it seems you're getting a bit X-Y in that you're trying to fix the wrapper code around the actual code. If all you need to do is transform the file, then you don't actually need perl or a perl module at all.

If I were you, I'd, download the MSXML application and get transforming on the command line.

msxsl C:/filename.xml C:/filename.xsl -o C:/output.csv
is all you're really trying to do.

And if you really want to do it from perl, you can always do system or backticks or whatever around that, creating your own wrapper.

It sucks, but hell, you're stuck transforming XML on Windows (as am I, can you tell?) you might as well bite the bullet.

Let me know if I can help.



Nobody says perl looks like line-noise any more
kids today don't know what line-noise IS ...

Replies are listed 'Best First'.
Re^2: Using XML::XSLT to convert XML to CSV
by Anonymous Monk on Oct 26, 2012 at 05:17 UTC
    when try doing what you mentioned i see the following error: 'msxsl' is not recognized as an internal or external command, operable program or batch file. i have installed msxml6... i m using windows 7 64 bit -AMAR
      use a full path, like "C:\blah\blah\blah....exe"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://634223]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-25 07:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found