Tempore 10:28:05, die 02/09/2005 AD, hinc in
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com scripsit
<David(_dot_)McKay(_at_)racalinstrumentsgroup(_dot_)co(_dot_)uk>:
<xsl:variable name="husband-birthday"
select="../*[(_at_)wife=(_dot_)/@name]/@birth"/>
This would select all persons that have the same name as their wifes (that
would be rather unlikely).
You could use this instead:
<xsl:variable name="husband-birthday"
select="../*[(_at_)wife=current()/@name]/@birth"/>
but the key approach gives better performance.
regards,
--
Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041)
Fiat W3C in tenebris
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--