[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: how to change xsl dynamically?

Subject: RE: how to change xsl dynamically?
From: Marco.Mistroni@xxxxxxxxx
Date: Fri, 10 Sep 1999 11:33:18 +0300
dynamically change xsl
hi,
	maybe i do not understand fully the question, but if
	the problem is to change xsl dynamically you could
try to do like this:
you write a common stylesheet in which you import another stylesheet
the  name of this stylesheet is a param-variable, so that you can change it
from
for example a servlet.
when you call for example the servlet, based on a value entered by the user
you use
the instruction setStylesheetParam() to set the name of the xsl stylesheet.
Have i understood the problem correctly?
best regards
			marco

> -----Original Message-----
> From: EXT Sam.Walker [mailto:Sam.Walker@xxxxxxxxxxxxxx]
> Sent: 10. September 1999 10:35
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: RE: how to change xsl dynamically?
> 
> 
> I have been trying to do the same thing, but I haven't found 
> a way of doing
> it other than by the use of server-side scripting which dynamically
> generates the XML document header.
> I think it seems a bit strange to have a fixed style sheet in an XML
> document - how does this utilise the power of XML i.e. how 
> can you display
> different views of an XML document other than by writing server side
> applications or by modifying the XML header by hand? Is 
> anyone aware of a
> technique for this? Ideally you should not have to use an 
> http server to
> achieve this.
> 
> --New Naive Idealistic XML User (or just Sam).
> 
> 
> 
> -----Original Message-----
> From: Michele Lee [mailto:mclee@xxxxxxxxx]
> Sent: 08 September 1999 22:16
> To: xsl-list@xxxxxxxxxxxxxxxx; Michele Lee
> Subject: how to change xsl dynamically?
> 
> 
> 
> Hi,
> 
> I'm trying to call a different stylesheet (with the same xml 
> document) based
> on a button click.  I know that Microsoft website has 
> examples of this, but
> they seem to be Microsoft specific methods.  Is there a 
> generic way for
> changing XSL dynamically?  In particular, I'm looking for 
> something that
> will
> work with both IE 5 and Netscape 5 (when it comes out).
> 
> thanks!
> 
> --Michele
> 
> 
>  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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.