[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Dynamic XSL filtering using ASP

Subject: Re: Dynamic XSL filtering using ASP
From: "cutlass" <cutlass@xxxxxxxxxxx>
Date: Tue, 26 Mar 2002 16:34:24 -0000
pass records to clientside script
Hello Amrit,

your best bet is to go to www.bayes.co.uk/xml

and go through the beer tutorial and page filtering examples

essentially u will need to inject a param into your stylesheet

to pass the param so that <xsl:param /> can find it..... each XSLT processor
has a different method.

with IE u use a bit of clientside script, would suggest starting there
first.

so the 'date' u speak of would be the parameter being injected.....

how to do pattern matching in your stylesheet, first things first though,

cheers, jim fuller

----- Original Message -----
From: "Amrit Gill" <gillism@xxxxxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, March 26, 2002 4:19 PM
Subject:  Dynamic XSL filtering using ASP


> hi guys, i have been struggling with this for a long time now, and have
> finally come to an end and need professional advice (you guys!).
>
> My problem is this, i have a xml file whish is structured as follows:
>
> <playlist>
>    <record>
> <play_date>18Feb02</play_date>
> <record_num>1</record_num>
> <record_title>Star Suite</record_title>
> <record_artist>Mondo Grosso</record_artist>
> <record_mix>Blaze Shelter Dub</record_mix>
> <record_label>King St</record_label>
>    </record>
>    <record>
> <play_date>25Feb02</play_date>
> <record_num>1</record_num>
> <record_title>Back Fire</record_title>
> <record_artist>Masters At Work</record_artist>
> <record_mix>Album Mix</record_mix>
> <record_label>MAW Records</record_label>
>    </record>
> </playlist>
>
> And i want to be able to filter out the correct <record>'s from the
> playlist.xml file.  For example i want to display all the records which
> were played on the 25feb02, or on the 18feb02.  I know i need an XSL to do
> this, but i have no real clue, nor do i have a great idea on what sort of
> ASP code i need.
>
> To iterate myself again, i want to be able to click on a date in a asp
> file, which then passes the date to the xsl file, which then filters out
> the right records, with the same play_date as the date passed from the asp
> file, and finally display them in a table.
>
> i thank you all in advance for giving time to read it, and great thanks in
> helping me.
>
> Gill.
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.