RE: asp & xsl

Subject: RE: asp & xsl
From: Kvan <Kvan@xxxxxxxxxx>
Date: Thu, 27 Jul 2000 12:48:32 +0200
It's not clear to me what you want to do. Are you asking how to have an
XSL stylesheet access URL parameters? If so, the only way is via ASP:
Have the ASP ouput some XML containing the data, and then let the client
transform this with your stylesheet (using XML data islands):

ASP-page:

<xml>
  <menu><%= request("menu")%></menu>
</xml>

Then your XSL stylesheet can use something like:

<xsl:template match="menu">
  <A>
    <xsl:attribute name="HREF">
      default.asp?menu=<xsl:value-of />
    </xsl:attribute>
</xsl:template>

- Kvan. 

-------Casper Kvan Clausen------ | 'Many people would rather
--------<kvan@xxxxxxxxxx>------- |  die than think;
                                 |  in fact, most do.'
                                 |          - Bertrand Russell. 


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


Current Thread