This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: variable in xpath?
- From: "Steve Renshaw" <renshaw_steve at hotmail dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 11 Apr 2002 22:44:28 +0000
- Subject: RE: [xsl] variable in xpath?
- Reply-to: xsl-list at lists dot mulberrytech dot com
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