Re: [xsl] XPATH: get not repeated nodes

Subject: Re: [xsl] XPATH: get not repeated nodes
From: "Rui Alberto L." Gonçalves <rui-l-goncalves@xxxxxxxxxxxxx>
Date: 25 Feb 2004 12:48:09 +0000
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[@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@xxxxxxxxxxxxx>
PT Inovação


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


Current Thread