|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Load XSL dynamically
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: Camalesn [mailto:noelamac@xxxxxxxxx] Sent: Wednesday, April 13, 2005 11:56 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: 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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








