[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] Problem with keys in for-each (?)
Subject: RE: [xsl] Problem with keys in for-each (?) From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Wed, 14 Mar 2001 09:49:06 -0000 |
> In the following XSLT, I have a key() function called to look > up a specific > element in the key. If I call this alone, as it is in the > first line of the > template for "/", it works and I get the output I expect. If > I do the EXACT > same thing within the loop, I get no output as a result of the > apply-templates. The key() function looks for nodes that are in the same document as the context node. Your xsl:for-each is changing the context node to be one in a different document. Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Problem with keys in for-each, Don Bruey | Thread | RE: [xsl] Problem with keys in for-, Don Bruey |
Re: [xsl] Selecting a descendant ch, David Carlisle | Date | Re: [xsl] extracting tree from flat, Jeni Tennison |
Month |
Keywords