|
Subject: [xsl] How to apply xsl on the client side? From: Tomas.Oberg@xxxxxxxxxxxxxx Date: Fri, 22 Nov 2002 10:08:55 +0100 |
Hi! I want to apply the xsl on the client side, by using a parameter in the
xml template which tells the server what xsl to send.
Template.xml:
<?xml version='1.0' encoding="iso-8859-1" ?>
<root>
<sql:header xmlns:sql="urn:schemas-microsoft-com:xml-sql">
<sql:param name='xslvariable'>xslfile1.xsl</sql:param>
<?xml-stylesheet type='text/xsl' href=@xslvariable ?>
</sql:header>
<sql:query xmlns:sql="urn:schemas-microsoft-com:xml-sql">
...
</sql:query>
</root>
URL:
http://localhost/Virtual_Directory/Template.xml?xslvariable=xslfile2.xsl
The files Template.xml, xslfile1.xsl, xslfile2.xsl are in the
Virtual_Directory folder on the server.
I'm using SQLXML 3.0 & SQL Server 2000, Vendor: Microsoft
Thanks!
/Tomas
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] string processing, Jarno . Elovirta | Thread | [xsl] PDF to XSL-FO, Mark Seaborne |
| Re: [xsl] how to deal with uncertai, glliu | Date | RE: [xsl] Interesting issue, Michael Kay |
| Month |