...

View Full Version : more than one param



jeorg
12-07-2002, 06:32 PM
this work fine

-------------------------------------------------------------

<xsl:param name="paramCat" />

.......

<xsl:for-each select="notes/note[@cat =$paramCat]">
ect...
</xsl:for-each>

---------------------------------------------------------------

but if I want more then one param

---------------------------------------------------------------

<xsl:param name="paramCat" />
<xsl:param name="paramNum" />

.......

<xsl:for-each select="(notes/note[@cat =$paramCat]) AND (notes/note[@num =$paramNum]) ">
ect...
</xsl:for-each>

---------------------------------------------------------------

I get an error

how can you add AND, OR .... ?


thank you

jeorg
12-08-2002, 07:46 AM
that was

<xsl:for-each select="notes/note[@cat =$paramCat and @num =$paramNum]">



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum