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

How to process the stylesheet on the client...

Subject: How to process the stylesheet on the client...
From: Tomas.Oberg@xxxxxxxxxxxxxx
Date: Mon, 25 Nov 2002 15:58:41 +0100
tomas oberg
Hi! I want to be able to use different stylesheets to my xml document. And I
want the stylesheet to be processed by Internet Explorer 6.0 on the client.
So I want the web server to send both the xml document and the xsl
stylesheet to the client.

This xml-template works:
<?xml version='1.0' ?>
<?xml-stylesheet type='text/xsl' href='stylesheet.xsl'?>
<ROOT>
  <sql:header xmlns:sql='urn:schemas-microsoft-com:xml-sql'>
    <sql:param name='Test'>1</sql:param>
  </sql:header>
  <sql:query xmlns:sql='urn:schemas-microsoft-com:xml-sql'>
    Exec sp_gettest @Test
  </sql:query>
</ROOT>

But I want the stylesheet 'stylesheet.xsl' to be passed as a parameter - or
how you may solve it. (If I add the attribute "?xsl=stylesheet.xsl" in the
URL, the stylesheet is processed on the web server instead.)

Does anyone know how to make the transform to take place on the client? I
would be thankful for advice.

(I'm using SQLXML 3.0 & SQL Server 2000)
/Tomas

 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.