Re: perl & xslt - was -> RE: [xsl] passing variables to a stylesheet

Subject: Re: perl & xslt - was -> RE: [xsl] passing variables to a stylesheet
From: Graham Seaman <graham@xxxxxxxxx>
Date: Mon, 24 Sep 2001 19:06:04 +0100 (BST)
On Mon, 24 Sep 2001, cutlass wrote:

<forwarded message:>
> > containers/application servers. It is a pain for me.  I was wondering
> about
> > using perl to do/trigger the transform process. Everybody has a CGI bin :)
> > What does it take to make perl do what xalan (or saxon)/xerces do for me
> > now?  I was wondering if there was something like  a perl cocoon. I have
> > been lurking for a few days on what seems to be the main perl/xml mailing
> > list (perl-xml@xxxxxxxxxxxxxxxxxxxxxxxx). I have seen one implementation
> of
> > a xsl processor built in perl but the author says it is slow - haven't
> tried
> > it yet(http://xmlxslt.sourceforge.net/).
> >
> > Are there definite leaders in this area?  Where is a good place to look
> for
> > info on perl and XSL/XML?  Does anyone have some simple examples

I haven't used Axkit, but have had no particular problems using
libXML/libXSLT and the perl wrappers. 
There's an example on http://colondot.net/~grahams/ (see the links at
the bottom of the page) - the perl is just a place holder and the xsl is
probably awful, but it fits your requirement of simplicity, and passing
parameters from perl (couldn't be easier). There's a tarball and cvs, but
don't expect much - there's only a few files so far.

It seems fine for speed so far (the host its on can be very slow, but
there are no visible delays on other systems). It is using mod_perl
rather than cgi, though.

Good luck
Graham








 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread