xsl-list
[Top] [All Lists]

Re: XPATH: get not repeated nodes

2004-02-25 05:48:09
On Wed, 2004-02-25 at 11:37, aaa bbb wrote:
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)]

Are you missing @ ?!

//V14[(_at_)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
-- 
Rui Alberto L. Gonçalves <rui-l-goncalves(_at_)ptinovacao(_dot_)pt>
PT Inovação


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