This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


yes,

looking for favorable adoption characteristics in a lot of this architecture
is difficult.

the previously mentioned AxKit is kinda the perl cocoon, in only that you
can quickly enable a webserver to parse documents; it does not have any
publishing methodology etc that cocoon does, though it does have a lot of
additional functionality and hooks into perl plus the neat taglibs. this
requires mod_perl and some heavy duty access to the server, thusly not being
a good 'webspace' option; but if u can convince your ISP go wild !

the best perf i have observed, in perl, are perl interfaces to libxslt or
sablotron, though admittedly there will be others on this list who have done
the hard work of generating the perf metrics. some ISP's will build or make
accessible a staticlly built binary for use in cgi-bin or perl scripts; but
once again this is not std.

some other options that u could implement in a webspace;
-php has a nice extension to sablotron
-i have written a cold fusion tag that basically makes a webserver with
coldfusion an xslt parsing platform.

furthermore;

We want to author docs and transforms that are not bound to anything
special, ie a special calling template ( this is a similiar idiom to calling
params in IE vs command line, etc, we all want one standard way to inject
params into transform ), thats why i like to have the parsing done at the
'webserver' level and this being assoc as a handler to the mime type xml;
yes this is a heavy handed approach, but i have tried all sorts of things

cheers ,jim fuller




----- Original Message -----
From: "Robert Koberg" <rob@koberg.com>
To: <xsl-list@lists.mulberrytech.com>
Sent: Monday, September 24, 2001 2:31 PM
Subject: perl & xslt - was -> RE: [xsl] passing variables to a stylesheet


> Hi - this conversation is really interesting to me. I have been struggling
> with porting my web-app to different j2ee compliant servlet
> 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@listserv.ActiveState.com). 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?
>
> How easy/likely is it to install something like Sablotron on a server not
> under your control? Say, for example, the only thing you have access to is
> the docroot and the cgi-bin thru FTP/SSH?
>
> thanks for any information!
> -Rob
>
>
>
> > -----Original Message-----
> > From: owner-xsl-list@lists.mulberrytech.com
> > [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of cutlass
> > Sent: Monday, September 24, 2001 3:06 AM
> > To: xsl-list@lists.mulberrytech.com
> > Subject: Re: [xsl] passing variables to a stylesheet
> >
> >
> > yes, completely possible,
> >
> > depends on which parser and perl interface your are using.
> >
> > axkit.pm for example which is a mod_perl app allows for the vars to be
> > passed on the URL.
> >
> > please give us some more information ? maybe we can help.
> >
> > cheers, jim fuller
> >
> >
> > ----- Original Message -----
> > From: "Ian Rogers" <ian.rogers@net800.co.uk>
> > To: "Xsl Mailing List" <xsl-list@lists.mulberrytech.com>
> > Sent: Monday, September 24, 2001 11:01 AM
> > Subject: [xsl] passing variables to a stylesheet
> >
> >
> > > can anyone help.
> > >
> > > Is it possible to send a variable to a stylesheet from a perl module
> > >
> > > What i would like to do if possible is, when a error occurs in
> > one of the
> > > perl modules it calls the xml document, which contains all the
> > information
> > > about possible errors.I would want to pass a variable to the xsl file
so
> > > that it selects the correct error information based on the
> > variable passed
> > > in, and then displays the information to html
> > >
> > > I don't know if this is possible, but if anyone has any ideas i would
be
> > > extremely grateful
> > >
> > > Ian
> > >
> > >
> > >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> > >
> >
> >
> >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> >
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]