[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] variable in xpath?


Subject: RE: [xsl] variable in xpath?
From: "Steve Renshaw" <renshaw_steve@xxxxxxxxxxx>
Date: Thu, 11 Apr 2002 22:44:28 +0000

I will give it a try, but could someone comment on the predicate within predicate syntax used here? It is very
rare - I never saw it beofre


Try:

select="element[*[name()=$child and . = $value]]"

or:

select="*[*[name()=$child and . = $value]]"

if <elements> will only have <element> children.


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




Current Thread