Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing multiple parameters 2

Status
Not open for further replies.

MrT2005

Programmer
Mar 8, 2005
22
CA
to select records based on one parameter
im using this

<xsl:for-each select="fiches/fiche[texte/cattouristique=$keyword]">

is it possible to pass a second parameter also?

i want to do this also

<xsl:for-each select="fiches/fiche[region/regionnseo=$keyword2]">

is there a way to combine both into one?
 
put an | in between

<xsl:for-each select="fiches/fiche[texte/cattouristique=$keyword] | fiches/fiche[region/regionnseo=$keyword2]">

matt

 
additionally,

how would you do it so that both parameters MUST be found
and not just one or the other?
 
Code:
<xsl:for-each select="fiches/fiche[texte/cattouristique=$keyword] and fiches/fiche[region/regionnseo=$keyword2]">
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top