Re: Changing an XSL stylesheet

Subject: Re: Changing an XSL stylesheet
From: Garriss James <jgarriss@xxxxxxxxx>
Date: Tue, 10 Aug 1999 13:06:23 -0400
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/d http://msdn.microsoft.com/downloads/samples/internet/xml/multiple_views/defa ult.asp

It's a two-frame page, where one frame is used to select an XML document and XSL stylesheet pairing and the other frame displays the results.

  James Garriss
  Information Systems Engineer, MITRE
  jgarriss@xxxxxxxxx
  (757.896.8551)




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



Current Thread