Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Posts
    128
    Thanks
    0
    Thanked 0 Times in 0 Posts

    more than one param

    this work fine

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

    <xslaram name="paramCat" />

    .......

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

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

    but if I want more then one param

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

    <xslaram name="paramCat" />
    <xslaram 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

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Posts
    128
    Thanks
    0
    Thanked 0 Times in 0 Posts

    it works

    that was

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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •