[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLTC key() with for-each Problem

Subject: Re: XSLTC key() with for-each Problem
From: Troy Thibodeaux <troythibodeaux@xxxxxxx>
Date: Fri, 12 Jul 2002 17:13:21 -0500
Re:  XSLTC key() with for-each Problem
Hi Joerg,

I was afraid that might be the answer.
Thanks for taking the time to consider my problem.

Troy

At 11:16 PM 7/12/2002 +0200, you wrote:
Is there any other way to force the key() function to refer to the nodes in $old_file? The name of the old file is being passed into the stylesheet as a parameter, so I don't believe it can be directly referenced in <xsl:key>.

<xsl:key> works per XML tree, you don't specify a special one (or a document) in the key-declaration. With your <xsl:for-each select="$oldfile"> you only change the context document for the key to work on.


So there is no work around if there is really a bug in XSLTC. Either you use the inefficient method or must wait until the bug is fixed.

Joerg


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


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.