xsl-list
[Top] [All Lists]

RE: Load XSL dynamically

2005-04-13 10:26:39
You can use Javascript to pass parameters to a stylesheet, whether the
transformation takes places on the client or on the server. The parameters
could be dynamically generated based on user events.

Here is an example of that:
http://www.xslt.com/html/xsl-list/2005-03/msg01309.html

Maria 


-----Original Message-----
From: Camaleón [mailto:noelamac(_at_)gmail(_dot_)com] 
Sent: Wednesday, April 13, 2005 11:56 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Load XSL dynamically

2005/4/13, Maria Amuchastegui:

I'm not sure if this is what you had in mind. The following HTML file 
contains links to two external XSL stylesheets, each of which provides 
a different view of the same data:

Hello Maria,

I forgot to say I would like to use a server-side solution (PHP) in order to
get the files can be displayed in any browser.

Could it be possible to get the same you posted by using server-side
scripting? I am not speaking about the code itself, but the concept.
That is, how can I use one XML file and perform several transforms in
real-time (on user events)?

I know how to associate XML and XSL, but how applying dynamically based on
user's events (click, for example)?

Thanks.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>