xsl-list
[Top] [All Lists]

How to apply xsl on the client side?

2002-11-22 02:08:55
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



<Prev in Thread] Current Thread [Next in Thread>
  • How to apply xsl on the client side?, Tomas . Oberg <=