xsl-list
[Top] [All Lists]

RE: A more complicated Muenchian Method exercise

2003-07-21 07:28:45
not so complicated, then, I guess.  :)
I'll try that.

Thanks.

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of 
David
Carlisle
Sent: Monday, July 21, 2003 10:10 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] A more complicated Muenchian Method exercise




  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



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