[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Quick question
> A quick question... for example if say main.html has a "select rating" > with values from 1-5 that increments by .5, i would like to take that > value in an xsl document and depending upon the rating that is in the > result set display only the hotels that have that rating. Usually its best to supply at least some source xml, the relevant snippet of your stylesheet and where your previous attempts have failed... ...without much to go on, I would guess that you might want: <xsl:apply-templates select="hotel[@rating = $rating]"> where $rating is the param containing the values 1-5 in increments of of .5 cheers andrew > -----Original Message----- > From: Mac Rost [mailto:mrost@xxxxxxxxxxxxx] > Sent: 26 September 2002 15:10 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Quick question > > > Hello all! > > A quick question... for example if say main.html has a "select rating" > with values from 1-5 that increments by .5, i would like to take that > value in an xsl document and depending upon the rating that is in the > result set display only the hotels that have that rating. > Thanks! > Mac > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.391 / Virus Database: 222 - Release Date: 19/09/2002 > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.391 / Virus Database: 222 - Release Date: 19/09/2002 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
|