This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: keys vs. parameters


> You don't generate anything -- that's the responsibility of the processor.
> Most implementations will "index" on an as-needed basis, so if you don't
> refer to a key, there won't be any overhead.  Since the key() function can
> only return nodes in the same document as the context node, a processor is
> required to keep information separate for each source document.  Again,
> with most implementations, that means only the documents for which there
is
> a call of the key() function will be "indexed".
> 
> Both Xalan-J and Xalan-C++ implement keys this way.

Ok, perhaps I'm missing something.  I tried this with Xalan-J and in the
context of a result set returned from an extension.  I couldn't get the key
to work.  It was a pretty straight forward "match" and "using" (I've had far
worse, including one I think I'm going to end up creating a question about
come Monday) so I don't think I coded it wrong, but I'll try again...




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]