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=(_at_)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