but the conversion of the OR'd set to a string does not work. It seems to
ignore the rec_id, and I only get the sender set.
Yes, it is a general feature of Xpath1 string functions, that if you
give them a node set and theey want a string, they take teh firat node
of the node set and take its string value, and junk everything else.
I think you just want two xsl:key statements:
<xsl:key name="key2_name", match="header" use="concat(arrive_date, ' ',
sender/sen_id )"/>
<xsl:key name="key2_name", match="header" use="concat(arrive_date, '
',sender/recipient/rec_id )"/>
multiple xsl:key statements with the same name form a combined key.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list