RE: [xsl] Muenchian technique, a problem.

Subject: RE: [xsl] Muenchian technique, a problem.
From: "McNally, David" <David.McNally@xxxxxxxxxx>
Date: Fri, 1 Feb 2002 11:44:33 -0500
> the output from this informs me:
>          ctx:r nds=2
> I.e. the context is r, and this Muenchian method of getting 
> the 'first'
> node (as modified by MK, p626) is returning a count of 2.

I tried running this, and got 

          ctx:r nds=1

as expected.

Presumably you're getting   

          ctx:r nds=2
          ctx:r nds=2

since if there are two nodes, the for-each should output twice.  So the <au>
values must be different, in order to get two different ids.

Perhaps in the real file you have some extraneous white-space in one of the
<au>ZZZ. </au> elements?

David.
--
David McNally            Moody's Investors Service
Software Engineer        99 Church St, NY NY 10007 
David.McNally@xxxxxxxxxx            (212) 553-7475 


---------------------------------------

The information contained in this e-mail message, and any attachment thereto, is confidential and may not be disclosed without our express permission.  If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message, or any attachment thereto, in whole or in part, is strictly prohibited.  If you have received this message in error, please immediately notify us by telephone, fax or e-mail and delete the message and all of its attachments.  Thank you.

Every effort is made to keep our network free from viruses.  You should, however, review this e-mail message, as well as any attachment thereto, for viruses.  We take no responsibility and have no liability for any computer virus which may be transferred via this e-mail message.


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


Current Thread