This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: variable in xpath?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]