xsl-list
[Top] [All Lists]

RE: Re: Need some help with an XPath

2003-02-21 15:01:59
[Dimitre Novatchev]

What if he should have more branches than the three in the example? (I
assumed that the element names "branch" and "service" would always be
used).

Cheers,

Tom P


Use:

/*/*/service[
                   not(@servId = /*/*[1]/*/@servId
                      and
                         @servId = /*/*[2]/*/@servId
                      and
                        @servId = /*/*[3]/*/@servId
                         )
                    ]



=====

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>