M
Martin Buchleitner
Hi!
I'd say:
<xsl:for-each select="/addressbook/customers/person[adress[city='Gent'
or city='Herzele']]">
....
</xsl:for-each>
will give you a node-set with person who live on Gent or in Herzele.
HTH Martin
I know how to select certain elements of a XML by using XSLT. But I like to
state some extra conditions.
Like in an addressbook, I like to see only the people, who live in Gent.
But there is an extra difficulty, I want to place all these conditions in
the line, <xsl:for-each select="addressbook/customers/person">
and there can be more than one condition.
So, I'll need to work with "and" and "or"....
I'd say:
<xsl:for-each select="/addressbook/customers/person[adress[city='Gent'
or city='Herzele']]">
....
</xsl:for-each>
will give you a node-set with person who live on Gent or in Herzele.
HTH Martin