[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
On 21/06/2012 20:43, Wendell Piez wrote:
Re: [xsl] keys and collections
Subject: Re: [xsl] keys and collections From: Michael Kay <mike@xxxxxxxxxxxx> Date: Thu, 21 Jun 2012 22:51:50 +0100 |
On 21/06/2012 20:43, Wendell Piez wrote:
Dear Mike,Yes, probably.
On 6/21/2012 11:52 AM, Michael Kay wrote:A key can only be used to search within a single document. You can, of course, construct the union of the results of searching each individual document using the key, like this:
$allInput/key('linebyfolio',$folio)
I'm not sure what you were trying to do with the /text/* so I've left that out of the equation.
Assuming that $allInput were bound to an arbitrary set of elements scattered across a set of documents, would there be any advantage to
$allInput/root()/key('linebyfolio',$folio)
Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] keys and collections, Wendell Piez | Thread | [xsl] keys and collections, Birnbaum, David J |
Re: [xsl] keys and collections, Wendell Piez | Date | [xsl] How to make this XSL transfor, Jo Na |
Month |