Altova Mailing List Archives
>comp.text.xml Archive Home
>Thread Prev - Re: How to write an XSLT with several conditions (predicates)???
Re: How to write an XSLT with several conditions (predicates)???
Date: 7/17/2003 8:05:00 AM
Thanks, it is working well; both of the solutions So, if you put the predicates in a row ([predicates1][predicates2]), it's the function AND that's called (predicates1 AND predicates2). Is it possible to have here OR. So, we get: this set of conditions OR this set of conditions. Thanks a lot Jonas Andries "Moody" <jonas946@y...> wrote in message news:obgRa.15104$dR3.1383009467@h...... > I'm sorry, but it isn't working > > maybe it's impossibel to state a condition on the result of other > conditions.??? > > > "martin buchleitner" <mabu@s...> wrote in message > news:3f1581a2$0$198$75868355@n...... > > > > Hi! > > > > > <xsl:for-each > > > select="/addressbook/customers/person[[address[city='Gent' > > > or city='Herzele']] and [address/street[@number='78']]]"> > > > > What about: > > <xsl:for-each > > select="/addressbook/customers/person[address[city='Gent' or > > city='Herzele'] and [street[@number='78']]]"> > > > > HTH Martin > > > > > > > > > > *** Sent via Developersdex http://www.developersdex.com *** > > Don't just participate in USENET...get rewarded for it! > > > > >