RE: [xsl] A few questions to the experts: functions, templates, loops

Subject: RE: [xsl] A few questions to the experts: functions, templates, loops
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 5 Sep 2002 11:54:01 +0100
> >>3.) Is there a way to pass parameters when calling a xml-file? Like 
> >>calling "http://...file.xml?param=1"; and the xslt-script 
> can evaluate 
> >>that parameter? I only found a way to do it via an 
> xslt-processor, and 
> >>since I can't use scripts/cgis/processors... on my server 
> it has to be 
> >>done via the xml/xslt purely.
> > 
> > 
> > Are you doing transformation on the client or on the 
> server? It sounds 
> > from this description as if you are doing it on the client. In this 
> > case you can control the transformation, including passing 
> parameters 
> > to it, from Javascript code on the HTML page.
> > 
> I am doing the basic transformation on the server. However, 
> since this 
> is just a private project and I don't have access to a server which 
> gives me access to a full-fledged xslt-processor, I have to consider 
> using a client-side transformation model as well.

Sorry, I don't understand. If you are doing transformation on the
server, then there must be an XSLT processor on the server, and there
must be some application running on the server that is invoking it. You
seem to be saying that you aren't allowed to write applications that run
on the server to invoke the XSLT processor, you have to use the
application that someone else has provided. But you don't say what that
application is or what its capabilities are, so it's impossible for me
to tell you whether it supports passing of parameters to the XSLT
transformation.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx  



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


Current Thread