xsl-list
[Top] [All Lists]

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

2002-09-05 03:54:01
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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com  



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