|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Dynamic XSL filtering using ASP
hi amrit i think of a solution for you.. The gurus of the list please correct me if i am wrong. Here it goes.. From ASP Screen after u click on the date, you can pass this date value tothe server side program (may be to the same ASP ). In the ASP Code , pass on this to the XSL as a parameter.( when u call the XSL Processor)..In your XSL,declare a global parameter , which accepts this.. for example your XSL could be along the lines of.. <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="text"/> <xsl:param name="ASPParam"/> <xsl:template match="record"> <xsl:if test = "play_date = $ASPParam"> <xsl:value-of select = "record_num"> <xsl:value-of select = "record_title"> <xsl:value-of select = "record_artist"> <xsl:value-of select = "record_mix"> <xsl:value-of select = "record_label"> </xsl:if> </xsl:template> </xsl:stylesheet> .... You have to see the documentation of the XSL Transformer You are using to know how to pass the parameter to your XSL .. HTH laura. From: Amrit Gill <gillism@xxxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx Subject: Dynamic XSL filtering using ASP Date: Tue, 26 Mar 2002 16:19:51 +0000 _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








