xsl-list
[Top] [All Lists]

XPATH: get not repeated nodes

2004-02-25 04:37:26
Hi, I'm trying to obtain those nodes that have different attribute 'tap', I can get this with the next xpath:

//V14/V16/VEH[not(@tap=preceding::VEH/@tap)]

But when I add a condition with the intention of obtaining this from a particular node it have no result, when it should obtain some of them:

//V14[cod='1CA8ADH7P5..A0']/V16/VEH[not(@tap=preceding::VEH/@tap)]

Why does'nt it work? I can obtein that with a xpath?

I need this to fill the options from a select in html.


Thanks!!!

Vero.

_________________________________________________________________
¿Todavía no conoces el nuevo MSN Messenger? Descárgatelo gratis aquí. http://messenger.microsoft.com/es


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



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