This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: asp & xsl


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@infopaq.dk>------- |  die than think;
                                 |  in fact, most do.'
                                 |          - Bertrand Russell. 


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]