Subject: Follow-up on "Changing an XSL stylesheet" From: "Schwartz, Todd" <todd.schwartz@xxxxxxxxx> Date: Tue, 17 Aug 1999 09:51:48 -0700 |
Sorry, I just joined the list, or I would have replied directly to this thread. >At 12:32 PM 8/10/99 , you wrote: >>I currently have an XML document with an xsl-stylesheet tag calling a >>stylesheet named isolist1.xsl. On this style sheet I want to have a button >>which the user can press and change the stylesheet applied to the XML >>document to isolist2.xsl. I've tried the following to change the href >>attribute of the xsl-stylesheet tag to no avail >> >>document.stylesheetuse.setAttribute("href","isolistexpand3.xsl"); >> >>can anyone direct me to a site which might point me in the right direction? >You might take a look at Microsoft's XML/XSL Viewer: >http://msdn.microsoft.com/downloads/samples/internet/xml/multiple_views/def ault.asp Yes, the Microsoft example is interesting, but it uses a Microsoft-proprietary method. Does anyone know if there is a *standard* way to accomplish the above? For example, the HTML spec provides a way to specify links to external style sheets. Thanks, Todd XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Is there any wildcards?, Elliotte Rusty Harol | Thread | Chapter 14 of the XML Bible revised, Elliotte Rusty Harol |
Re: Is there any wildcards?, Elliotte Rusty Harol | Date | Re: How to resolve conflicts in tem, Tony Graham |
Month |