Mondongo has asked for the wisdom of the Perl Monks concerning the following question:

Fellow monks,

I'm using XML::Sablotron, in Win32 (Windows 2000) to transform an entire directory of .XMLs into beautiful .HTMLs, like turning them into swans. ;)

Thing is, is started using document(http://blahblah) to check for certain things during the transformation. In OxygenXML, using Saxon or Xalan, it worked right, but when I tried to run my Perl script on my now-HTTP-dependant XSL, I found, to my dismay, that Sablotron, as of 1.0.1, hasn't yet implemented that protocol.

Is there some other good Perl module to do this on Win32? Nothing fancy, just XML-in, transformation, voilą! (supporting http, of course).

Thanks for your attention!
j.

Replies are listed 'Best First'.
Re: Sablotron and document('http://...')
by borisz (Canon) on Aug 17, 2004 at 16:01 UTC

      Hey, Ant didn't cut it either, so I ended up doing it with the libraries you mentioned.

      Thanks!

      j.
Re: Sablotron and document('http://...')
by Plankton (Vicar) on Aug 18, 2004 at 15:39 UTC
    I have been doing the same thing with the exception that I also need to generate PDF and RTF as well as HTML from XML on a Linux system. For XML -> HTML I have been using DocBook and xsltproc. Another interesting thing I didn't get around to trying out is tbook

    Plankton: 1% Evil, 99% Hot Gas.
Re: Sablotron and document('http://...')
by Mondongo (Beadle) on Aug 18, 2004 at 19:44 UTC

    After tinkering a while with XML::LibXSLT and XML::LibXML, I finally settled with using Ant and Xalan. It has the enormous overhead of the frigging' JVM, but, hey, it works.

    Thanks for all the help!

    j.