<xsl:when syntax question pertaining to an OR statement

Discussion in 'XML' started by Doug, Aug 29, 2006.

  1. Doug

    Doug Guest

    I've been researching the answer to this without luck. I need to use
    <xsl:when and use an OR condition. Either it can't be done or I just haven't
    figured out the syntax.

    <xsl:when test="xyz = 'hello1' OR xyz='hello2' ">
    Do something...

    Can someone please let me know the right way to write this?

    Thanks!
     
    Doug, Aug 29, 2006
    #1
    1. Advertising

  2. Joseph Kesselman, Aug 29, 2006
    #2
    1. Advertising

  3. Doug

    Doug Guest

    It's always the DUH things that drive you crazy. Thanks! All is well.

    Doug

    "Doug" <> wrote in message
    news:UZ%Ig.1533$...
    > I've been researching the answer to this without luck. I need to use
    > <xsl:when and use an OR condition. Either it can't be done or I just
    > haven't figured out the syntax.
    >
    > <xsl:when test="xyz = 'hello1' OR xyz='hello2' ">
    > Do something...
    >
    > Can someone please let me know the right way to write this?
    >
    > Thanks!
    >
     
    Doug, Aug 29, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. lomtik
    Replies:
    10
    Views:
    4,286
    lomtik
    Dec 24, 2004
  2. Vijay singh
    Replies:
    1
    Views:
    436
    Martin Honnen
    Nov 4, 2004
  3. Replies:
    1
    Views:
    3,613
    A. Bolmarcich
    May 27, 2005
  4. Dhiraj Asrani
    Replies:
    0
    Views:
    84
    Dhiraj Asrani
    Jul 20, 2004
  5. The Antarctican

    Need assistance pertaining to <form> & <input>

    The Antarctican, Jun 25, 2012, in forum: HTML and CSS
    Replies:
    0
    Views:
    679
    The Antarctican
    Jun 25, 2012
Loading...

Share This Page